Error code

SQL Server 156

SQL SERVER156
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

incorrect syntax near a keyword — a reserved word was used improperly.

How to fix it

  1. Quote reserved words used as identifiers with square brackets (e.g. [order] or [table]).
  2. Rename the column or object to avoid using SQL Server reserved words.
  3. Correct the statement structure so keywords appear in their grammatically valid positions.

Not affiliated with SQL Server. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.