When I try to display the contents of a LOB (large object) column in SQL*Plus, it is truncated. How do I display the whole thing?
Asked
Active
Viewed 6.4k times
2 Answers
48
SQL> set long 30000
SQL> show long
long 30000

Anonymoose
- 5,662
- 4
- 33
- 41
-
This with Kevin's answer is what I actually needed. – Aleksander Stelmaczonek Aug 18 '17 at 10:16
-
1@KapilVyas You can add the command to your login.sql if you want it to be executed automatically. On Unix systems, that file should be placed in your home directory. – Anonymoose May 14 '18 at 18:37
19
You may also need:
SQL> set longchunksize 30000
Otherwise the LOB/CLOB will wrap.

Kevin O'Donnell
- 363
- 2
- 6