Anonymoose
Anonymoose

Reputation: 5982

How do I display the full content of LOB column in Oracle SQL*Plus?

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?

Upvotes: 29

Views: 66841

Answers (2)

Kevin O'Donnell
Kevin O'Donnell

Reputation: 383

You may also need:

SQL> set longchunksize 30000

Otherwise the LOB/CLOB will wrap.

Upvotes: 21

Anonymoose
Anonymoose

Reputation: 5982

SQL> set long 30000
SQL> show long
long 30000

Upvotes: 52

Related Questions