How to completely retrieve large clob data from a table using sqlplus to the stdout? There is a way to get it completely using language specific DB APIs. But when I try to get it using purely sqlplus, I've faced several problems such as,
- Output buffer is too small (4000 is max)
- Character string buffer too small
Since oracle clob fields can contain 4GB (max) of data, is there any correct way to get the complete data chunk using sqlplus? Can I download it as a file?
I hope that the question is clear. I prefer if I can do it without injecting PL/SQL procedures to the database.