Can’t create stored procedure with table output parameter
Table parameters are readonly. You cannot select into them. Use Table-Valued Parameters: Table-valued parameters must be passed as input READONLY parameters to Transact-SQL routines. You cannot perform DML operations such as UPDATE, DELETE, or INSERT on a table-valued parameter in the body of a routine. And Table-Valued Parameters: You cannot return data in a table-valued … Read more