Error code

Oracle ORA-00911

ORACLEORA-00911
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

invalid character — the SQL statement contains an unexpected character.

How to fix it

  1. Remove trailing semicolons from SQL strings when executing through JDBC or OCI APIs.
  2. Replace special or non-printable characters in dynamically constructed SQL.
  3. Validate SQL in SQL*Plus first to confirm the statement parses correctly.

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