Tag: sp_executesql
SQL Server: Unexpected 'Invalid column name' scenarios when using dynamic SQL with EXEC sp_executesql