In SQL Server, is an OUTPUT parameter actually an INPUT/OUTPUT parameter? I’m assuming this since even if we specify the OUTPUT keyword for a parameter in the stored procedure definition, we are still required to supply value for this parameter when calling a stored procedure.
In SQL Server, is an OUTPUT parameter actually an INPUT/OUTPUT parameter? I’m assuming this
Share
Yes, you have to provide a value for the output parameter.
For example, of you create a stored procedure like this:
and then you call it like:
Check this article.