4D v16

ODBC_SQLPrepare

ホーム

 
4D v16
ODBC_SQLPrepare

ODBC_SQLPrepare 


 

ODBC_SQLPrepare ( stmtID ; statementText ) -> 戻り値 
引数   説明
stmtID  倍長整数 in Statement ID
statementText  テキスト in SQL text string
戻り値  倍長整数 in Returns the result of the MS ODBC API function SQLPrepare

説明   

The ODBC_SQLPrepare command prepares a SQL string for execution passed in statementText.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

statementText is the SQL text string to be executed later with ODBC_SQLExecute.

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

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

例題  

See the example for the ODBC_SQLFetch command.



参照 

ODBC_SQLExecute
ODBC_SQLFetch

 
プロパティ 

プロダクト: 4D
テーマ: ODBC_Prepare requests
番号: 16975

 
履歴 

初出: 4D ODBC Pro 2004

 
ARTICLE USAGE

4D ODBC Pro ( 4D v16)