How to display table data more clearly in oracle sqlplus

后端 未结 4 1217
猫巷女王i
猫巷女王i 2020-11-28 04:13

I want to be able to display the resulting data from a select in a pretty way, not all columns under others.

Here is the way sqlplus displays my table data:

4条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 04:31

    You can set the line size as per the width of the window and set wrap off using the following command.

    set linesize 160;
    set wrap off;
    

    I have used 160 as per my preference you can set it to somewhere between 100 - 200 and setting wrap will not your data and it will display the data properly.

提交回复
热议问题