4D v16

ODBC_SQLForeignKeys

ホーム

 
4D v16
ODBC_SQLForeignKeys

ODBC_SQLForeignKeys 


 

ODBC_SQLForeignKeys ( stmtID ; pkCatalogName ; pkSchemaName ; pkTableName ; fkCatalogName ; fkSchemaName ; fkTableName ) -> 戻り値 
引数   説明
stmtID  倍長整数 in Statement ID
pkCatalogName  文字 in Primary key table catalog name
pkSchemaName  文字 in Primary key table schema name
pkTableName  文字 in Primary key table name
fkCatalogName  文字 in Foreign key table catalog name
fkSchemaName  文字 in Foreign key table schema name
fkTableName  文字 in Foreign key table name
戻り値  倍長整数 in Returns the result of the MS ODBC API function SQLForeignKeys

説明   

The ODBC_SQLForeignKeys command returns a list of foreign keys in the specified table or a list of foreign keys in other tables that refer to the primary key in the specified table.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

pkCatalogName is the primary key catalog table name.

pkSchemaName is the primary key schema name.

pkTableName is the primary key table name.

fkCatalogName is the foreign key table catalog name.

fkSchemaName is the foreign key table schema name.

fkTableName is the foreign key table name.

For more information, please see the SQLForeignKeys function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms709315(VS.85).aspx.

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.



参照 

ODBC_SQLPrimaryKeys

 
プロパティ 

プロダクト: 4D
テーマ: ODBC_Catalog functions
番号: 16944

 
履歴 

初出: 4D ODBC Pro 2004

 
ARTICLE USAGE

4D ODBC Pro ( 4D v16)