Expand Minimize

SQLPrimaryKeys (Visual FoxPro ODBC Driver)

Note Note

This topic contains Visual FoxPro ODBC Driver-specific information. For general information about this function, see the appropriate topic under ODBC API Reference.

Support: Full

ODBC API Conformance: Level 2

Returns the column names that comprise the primary key for a table. The Visual FoxPro ODBC Driver implementation of SQLPrimaryKeys behaves as follows:

  • Ignores the szTableOwner and cbTableOwner arguments.

  • Works only for data sources that are databases. The driver returns the error "Driver does not support this function" if the data source is a directory of free tables.

For more information, see SQLPrimaryKeys in the ODBC Programmer's Reference.

Show:
© 2014 Microsoft