I have a Oracle query which I\'m executing through shell script and in that my query is getting exceeded the maximum length of 2499.
I\'m getting error
Try to add a line break somewhere in that long line; that's a limitation of SQL*Plus and, as far as I can tell, you can't avoid it by some setting (like SET LINESIZE 100 and similar).
Here are some options for working around SQL*Plus line length limitations:
chr(13)||chr(10)
.The real issue is input SQL text itself is too long, single line exceed 2500 characters, not about the data inside the database. To workaround the error, you should follow the steps from @Jon Heller