Advantage Client Engine
Returns the SQL statement text associated with the statement handle passed in.
UNSIGNED32 AdsGetSQLStatement( ADSHANDLE hStmt,
UNSIGNED8 *pucSQL,
UNSIGNED16 *pusLen );
hStmt (I) |
Statement handle to retrieve the SQL statement text from. |
pucSQL (O) |
Buffer to return the statement in. |
pusLen (I/O) |
Length of pucSQL buffer on input, number of bytes returned on output. |
Use AdsGetSQLStatement to retrive the SQL statement text last executed on hStmt