Returns the name of a return parameter of a stored procedure or a remote stored procedure.
SqlRetName$ ( sqlconn%, retnum% )
where
The name of the parameter of the specified return value. If retnum% is out of range, SqlRetName$ returns an empty string.
For more information about stored procedure return parameters, see "SqlRetData$."
The server returns stored procedure information (including any return status and parameter values) immediately after returning all normal results for that stored procedure. Process the normal results, and then call SqlRetName$ after SqlResults% returns NOMORERPCRESULTS (for all stored procedures in a batch except the last one) or NOMORERESULTS (for a single stored procedure, or for the last stored procedure in a batch).
SqlNextRow%, SqlNumRets%, SqlResults%, SqlRetData$, SqlRetLen&, SqlRetType%