I have a serious problem exporting the data from Oracle SQL to a text file. The problem is that I have a one table with single row and single column with type CLOB. The text length in this cell is almost a 2 billion characters JSON string.
What I need to do it is to export this (and longer texts in the future) to a single-line JSON file. But... the problem is that when I'm exporting it using a Oracle SQL Developer - the text is cut after 4000'th character. If I'm trying to export it using sqlplus - it's even worse (80 chars max).
I use Oracle 12.2 SQL.
Any help will be highly appreciated!! Thank you in advance and best regards, Tom