29

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?

Anonymoose
  • 5,662
  • 4
  • 33
  • 41

2 Answers2

48
SQL> set long 30000
SQL> show long
long 30000
Anonymoose
  • 5,662
  • 4
  • 33
  • 41
19

You may also need:

SQL> set longchunksize 30000

Otherwise the LOB/CLOB will wrap.

Kevin O'Donnell
  • 363
  • 2
  • 6