0
votes

I want to store more than 3500 characters in my table. so i used nvarchar2(3500) datatype for my Data field . but when i try to insert the data i get the error "ORA-00972: identifier is too long". Could anybody help me on this please.

1
Use single quotes to delimit strings not double quotes. - Martin Smith
I think it has to do with your insert statement. Could you paste it here? - Aditya Kakirde
Identifier too long means a column name or alias is too long (limit is 30 characters), nothing to do with your data. - Colin 't Hart
That's not a string, that's an identifier. Strings in Oracle use single quotes. So yes, if you are trying to use double quotes to delimit strings, use single quotes, like @MartinSmith comments. - Colin 't Hart
@santhosha - Post your code. - Martin Smith

1 Answers

0
votes
CREATE TABLE T (D nvarchar2(1000)); 

INSERT INTO T (D) 
VALUES('This is a string longer than 30 characters')

Oracle has a restriction on Objectnames longer than 30 characters.