📅  最后修改于: 2022-03-11 15:05:02.184000             🧑  作者: Mango
// 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)