はい、できます:
CREATE PROCEDURE #usp_TempOne
@Input INT,
@Output INT OUTPUT
as
SET @Output = @Input * 2
RETURN
GO
DECLARE @i INT = 10, @o INT;
EXEC #usp_TempOne @i, @o OUTPUT
SELECT @o
はい、できます:
CREATE PROCEDURE #usp_TempOne
@Input INT,
@Output INT OUTPUT
as
SET @Output = @Input * 2
RETURN
GO
DECLARE @i INT = 10, @o INT;
EXEC #usp_TempOne @i, @o OUTPUT
SELECT @o