sql_language thread: UPDATE statement not recognizing a variable as a table name
It's this line: EXEC sp_ExecuteSQL @strSQL You put that line in the stored procedure. Sp_ExecuteSQL takes 1 argument, the string to execute as a SQL statement. That should do it. Regards, AR
|





