Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Syntax error - using OUTPUT clause with @tablevariable and UPDATE DML

$
0
0
I have a stored procedure where I am trying to update stock values in a table based on values in a table variable. After updating the values, I want to capture the before and after values and store in another table variable. I am getting a syntax error -

Viewing all articles
Browse latest Browse all 3145

Trending Articles