Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

set a value by excuting stored procedure

// Call to the stored procedure, with an OUTPUT parameter
DECLARE @OutputParameter  datetime
       ,@ReturnValue      int

EXEC @ReturnValue= [YourStoredProcedure] [comma separated parameters if any] @OutputParameter OUTPUT
PRINT(@ReturnValue)
 
PREVIOUS NEXT
Tagged: #set #excuting #stored #procedure
ADD COMMENT
Topic
Name
3+1 =