Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

sqlipForeignKeys

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This method is called by the OpenAccess SDK layer to get foreign key list.

int sqlipForeignKeys(
String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable);

Parameters for sqlipForeignKeys

Parameter Type Description
INPUT    
primaryCatalog String A string object representing a primary key catalog name used to narrow the search.
Null indicates that the catalog name should not be used to narrow the search.
primarySchema String A string object representing a primary key schema name used to narrow the search.
Null indicates that the schema name should not be used to narrow the search.
primaryTable String A string object representing a primary key table name used to narrow the search.
Null indicates that the table name should not be used to narrow the search.
foreignCatalog String A string object representing a foreign key catalog name used to narrow the search.
Null indicates that the catalog name should not be used to narrow the search.
foreignSchema String A string object representing a foreign key schema name used to narrow the search.
Null indicates that the schema name should not be used to narrow the search. 
foreignTable String A string object representing a foreign key table name used to narrow the search.
Null indicates that the table name should not be used to narrow the search.
RETURN    
  int OADS_SUCCESS
OADS_ERROR
TitleResults for “How to create a CRG?”Also Available inAlert