Error code

SQL Server 102

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

What it means

incorrect syntax near — the parser encountered an unexpected token.

How to fix it

  1. Read the token named in the error and correct the surrounding SQL.
  2. Use SQL Server Management Studio or a SQL formatter to identify the problematic clause.
  3. Check for missing commas.

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