Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword ‘%.*ls’.
This error message appears, when SQL Server encounters a syntax error.
The SQL statement cannot be parsed and further execution is stopped.
Error of the Severity Level 15 are generated by the user and can be fixed by the SQL Server user. The illegal syntax must be corrected.
All versions of SQL Server.
In the above example the column list for the SELECT is missing. This raises the error.