Sends a command batch to Microsoft® SQL Server™ and does not wait for a response.
RETCODE dbsqlsend ( PDBPROCESS dbproc );
SUCCEED or FAIL.
This function sends Transact-SQL statements, stored in the command buffer of the DBPROCESS, to SQL Server. Statements can be added to the command buffer by calling dbcmd or dbfcmd.
After dbsqlsend returns SUCCEED, dbsqlok must be called to verify the accuracy of the command batch. Then dbresults can be called to process the results.
This function is particularly useful for multitasking with the Microsoft Windows® operating system.
Building Applications | dbresults |
dbcmd | dbsettime |
dbfcmd | dbsqlexec |
dbnextrow | dbsqlok |