oracle sqlplus wrapping results

后端 未结 4 1248
时光说笑
时光说笑 2021-01-07 16:10

When I run a query like:

SELECT * FROM CAR;

the results appear but each row wraps to several lines.

How can I stop this wrapping so

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-07 16:31

    Really hard to tell quite what the question actually is; but if you're seeing each row of data wrapped onto multiple lines in SQL*Plus, you need to do set lines 180 or similar; the number you use would ideally be the width of your terminal. The default is 80. You can go wider than the terminal, and it will still wrap, but you may find it easier to read still.

    The documentation for all the set commands is here.

提交回复
热议问题