📅  最后修改于: 2022-03-11 15:05:00.961000             🧑  作者: Mango
// procedure 1
BEGIN
DECLARE @Results TABLE (Tid INT PRIMARY KEY);
INSERT @Results
// call procedure 2 from procedure 1
EXEC Procedure2 [parameters];
SET @total 1;
END
SELECT @total