Error Message:
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword ‘%.*ls’.
Severity level:
15.
Description:
This error message appears, when SQL Server encounters a syntax error.
Consequences:
The SQL statement cannot be parsed and further execution is stopped.
Resolution:
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.
Versions:
All versions of SQL Server.
Example(s):
SELECT
FROM Northwind..Orders
Remarks:
In the above example the column list for the SELECT is missing. This raises the error.