how to increase sqlplus column output length?

后端 未结 10 2075
萌比男神i
萌比男神i 2021-01-30 12:45

I have some queries to find out the ddl of some objects from a schema. The result columns I am getting are truncated in the middle of the queries.

How can I increase the

10条回答
  •  抹茶落季
    2021-01-30 13:07

    Additionally to setting the LINESIZE, as LordScree suggested, you could also specify to output to a file, to overcome the problem with the console width. Here's how I do it:

    set linesize 15000;
    spool myoutput.txt;
    SELECT 
    ...
    spool off;
    

提交回复
热议问题