自动作业执行SQL存储过程带返回参数 DECLARE @StartTime DATETIME; DECLARE @EndTime DATETIME; DECLARE @rt_code2 NVARCHAR(1000); DECLARE @rt_msg2 NVARCHAR(1000); EXEC p_InsertPayOrder_Task @StartTime,@EndTime,@rt_code2 output,@rt_msg2 OUTPUT; EXEC p_InsertCar_Task @StartTime,@EndTime,@rt_code2 output,@rt_msg2 OUTPUT;