SAP Knowledge Base Article - Preview

3022787 - ODBC function SQLColAttribute for a view does not return expected base table and column instead view name and column name is returned.

Symptom

  • In a C ODBC program:
    • When calling function SQLColAttribute for a view ODBC
    • With descriptors SQL_DESC_BASE_TABLE_NAME
    • And SQL_DESC_BASE_COLUMN_NAME
  • It returns view name and column name instead of base table name and column name from base table.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SP04
  • Adaptive Server Enterprise ODBC Driver by Sybase

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0

Keywords

824189,CR 824189,CR824189,SQLColAttribute,ODBC,SQL_DESC_BASE_TABLE_NAME,SQL_DESC_BASE_COLUMN_NAME , KBA , BC-SYB-SDK , SDK , Bug Filed

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.