io ho
AS
declare
@result int

e se metto

@result int OUT

mi torna questo errore
Error 181: Cannot use the OUTPUT option in a DECLARE statement.