Quantcast
Channel: Question and Answer » oracle
Viewing all articles
Browse latest Browse all 717

How to make sqlplus output appear in one line?

$
0
0

I have a table with 100 columns. When selecting data in SQL Plus the output wraps, making it difficult to read.

What I’d rather like is either a horizontal scroll bar to appear or somehow send the output to less

I run following statements in SQLPlus –

SET LINESIZE 32000;
SET PAGESIZE 40000;
SET LONG 50000;
SPOOL output.txt
SELECT * FROM big_table;

Then in bash I run –

less output.txt

The output still appears wrapped and unreadable.


Viewing all articles
Browse latest Browse all 717