CTI Client SQL functions (C++ CTI API)CTI_SQLBegin |
Start an SQL query.
Parameters pszCommand SQL command to send to the database
dwMaxCount Maximum number of records to query
Return value DWORD Abfrage-ID
Remarks The function starts a database query. Any SQL string can be passed in, so long as the administrator has not made any restrictions. Since a large number of records may be discovered, dwMaxCount should be used to limit the number. The query can be continued with CTI_SQLNext and ended with CTI_SQLEnd. Queries started with CTI_SQLBegin are terminated in the server automatically after a few minutes. A Query ID is returned from each query and is required in subsequent calls to CTI_SQLNext and CTI_SQLEnd. A return value of 0 means the query could not be initiated. This occurs when the user is not logged on to the database.
Example
See also
© 2020 Tino Kasubke. All rights reserved.
|