Code Inspection: Unicode usage in SQL
Reports string literals that use national characters without the N prefix.
SELECT 'abcde' AS a;
SELECT N'abcde' AS b;
SELECT 'абвгд' AS c;
SELECT N'абвгд' AS d;
The SELECT 'абвгд' AS c; does not have the N prefix, the 'абвгд' part will be highlighted.Suppress an inspection in the editor
Position the caret at the highlighted line and press Alt+Enter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.
Last modified: 11 February 2022