dbrpcsend

Sends a single stored procedure, a single remote stored procedure, or batch of stored procedures or remote stored procedures to Microsoft® SQL Server™ to be executed.

Syntax

RETCODE dbrpcsend ( PDBPROCESS dbproc );

Arguments
dbproc
Is the DBPROCESS structure that is the handle for a particular workstation/ SQL Server process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.
Returns

SUCCEED or FAIL.

Remarks

After initializing and setting up each stored procedure using dbrpcinit and dbrpcparam, call dbrpcsend to send the stored procedure or batch of stored procedures to SQL Server. Then call dbsqlok before processing the stored procedure results. For more information about executing stored procedures using DB-Library functions, see dbrpcinit.

See Also
dbnextrow dbretstatus
dbresults dbrpcinit
dbretdata dbsqlok


(c) 1988-98 Microsoft Corporation. All Rights Reserved.