KB4538112 - Improvement: Use QUOTENAME with EXECUTE AT to query on table that has column name with quotes in SQL Server 2019

Applies to: SQL Server 2019 on LinuxSQL Server 2019 on Windows

Improvement


Assume that you have a column name with quotes in a table in SQL Server 2019. When you use EXECUTE AT feature in the query, the query may return wrong results. To prevent this issue, use QUOTENAME with EXECUTE AT to query the table.

Resolution


This improvement is included in the following cumulative update for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

References


Learn about the terminology that Microsoft uses to describe software updates.