SqlRpcSend%

Sends a single stored procedure, a single remote stored procedure, or batch of stored procedures and/or remote stored procedures to SQL Server to be executed.

Syntax

SqlRpcSend% ( sqlconn% )

where

sqlconn%
Is a SQL Server connection. The value of sqlconn% is returned by SqlOpen%.

Returns

SUCCEED or FAIL.

Remarks

After initializing and setting up each stored procedure using SqlRpcInit% and SqlRpcParam%, call SqlRpcSend% to send the stored procedure or batch of stored procedures to SQL Server. Then call SqlOk% before processing the stored procedure results. For more information about executing stored procedures using DB-Library functions, see "SqlRpcInit%."

See Also

SqlNextRow%, SqlOk%, SqlResults%, SqlRetData$, SqlRetStatus&, SqlRpcInit%, SqlRpcParam%