SAP Knowledge Base Article - Preview

2305194 - Error msg 7353 and 7356 Linked Server Query error - SDK for SAP ASE

Symptom

    • Running a query in Microsoft Linked Server outputs error message:
    • Msg 7356, Level 16, State 1, Line 1
      The OLE DB provider "MSDASQL" for linked server "linkedservername" supplied inconsistent metadata for a column.
      The column "status" (compile-time ordinal 4) of object "pubs2.dbo.syscolumns" was reported to have a "DBTYPE" of 16 at compile time and 17 at run time.

or

    • Msg 7353, Level 16, State 1, Line 14
      The OLE DB provider "MSDASQL" for linked server "linkeservername" supplied inconsistent metadata.
      An extra column was supplied during execution that was not found at compile time.

 


Read more...

Environment

  • Software Developers Kit (SDK)
  • Adaptive Server Enterprise ODBC Driver by Sybase
  • Adaptive Server Enterprise (ASE)
  • MSSQL Server

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7

Keywords

Linkedserver, ls, ms, error, result, datatype, int, smallint, integer, 4 part query, MSDASQL, converter, sybdrvodb , KBA , BC-SYB-SDK , SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.