Reputation: 5247
I am required to test something with a long raw column in Oracle DB. For this I need to insert a value of length, say 4000, in that column. The data can be something simple like "AAAA ..." 4000 times. I tried inserting a large value using sqlplus but get the following error (perhaps due to length limitations in sqlplus ?
ERROR: ORA-00972: identifier is too long
Is it possible to insert a large value into the long raw column using sqlplus ?
Upvotes: 2
Views: 1433
Reputation: 1990
This is a limitation of sqlplus
where the input cannot be more than 2499 characters.
I would suggest that you do the insert as part of a two step process.
Not an ideal scenario, but as far as I can see, this is the only way if you want to use sqlplus.
Upvotes: 2
Reputation: 23737
In Oracle, "AAA"
is an identifier, and 'AAA'
is a string value.
Upvotes: 2