Article ID: 251238 - Last Review: July 14, 2004 - Revision: 3.2 PRB: Distributed Queries Return Error 7356 with MSDAORAThis article was previously published under Q251238 On This PageSYMPTOMS
If metadata information changes at execution time, the following error occurs:
Server: Msg 7356, Level 16, State 1, Line 1 OLE DB provider 'MSDAORA' supplied inconsistent metadata for a column.
CAUSEIDBSchemaRowset::GetRowset for DBSCHEMA_COLUMNS returns IS_NULLABLE as TRUE. IColumnsInfo::GetColumnInfo on the rowset returns DBCOLUMNFLAGS_ISNULL as FALSE. Because of the these discrepancies, distributed queries fail with the 7356 error. The OLE DB provider, Msdaora.dll, returns the wrong information because the metadata that Oracle returns is incorrect. RESOLUTION
Specify the Nullability of the column explicitly during the CREATE TABLE statement.
STATUS
This behavior is by design.
MORE INFORMATIONSteps to Reproduce BehaviorUse these steps to reproduce the behavior:
| Article Translations
|
Back to the top
