Home / Oracle Errors / ORA-00904

ORA-00904

Invalid identifier

What it means

A column name or alias in your SQL does not exist or is spelled wrongly.

Common causes

How to fix it

  1. Check the table definition: DESC <table>
  2. Fix the spelling or table alias
  3. If the column was created with double quotes, use the exact same case in double quotes

How to prevent it

Avoid quoted identifiers and use consistent naming.

Still stuck? Ask the community in Q&A.

Get the weekly Vismo digestNew Oracle articles and Q&A in your inbox. No spam.

One email a week. Unsubscribe any time.