8255
Views
3
Comments
Solved
ORA-00972: identifier is too long ERROR
Question

I am trying to update a record in my external oracle database, but i keep getting the error: 

                                                                                                   

ORA-00972: identifier is too long. Please assist.


2025-07-02 19-21-41
Carla Ribeiro da Fonseca
Solution

Yikes, I remember that error from using Oracle.

In short, that error means that an identifier in your query is too big.

It could be because there's an error in the query, like maybe you forgot to enclose a string value in ', or you mistook ' for " so Oracle thinks your string value is an identifier.

The best way to figure it out is to look at the generated SQL, where the error will be easier to see.

2018-05-16 11-16-36
João Heleno
 
MVP

Are you using an Advanced Query?

Can you show us the SQL statement?

2025-07-02 19-21-41
Carla Ribeiro da Fonseca
Solution

Yikes, I remember that error from using Oracle.

In short, that error means that an identifier in your query is too big.

It could be because there's an error in the query, like maybe you forgot to enclose a string value in ', or you mistook ' for " so Oracle thinks your string value is an identifier.

The best way to figure it out is to look at the generated SQL, where the error will be easier to see.

2025-04-22 05-54-18
Shashi Kant Shukla

Hi Joao,

You can paste the executed sql in sqldeveloper or toad and you can identify in better way where is the problem in query.


Regards

-SK- 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.