oracle 调整输出的列宽、行宽

本文共有1269个字,关键词:oraclecol宽度调整列宽调整

调整列宽col,调整行宽set linesize

before:


C:\>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 3月 30 21:39:32 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
 
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
 
SQL> select name,type,value,isdefault from v$parameter where name='db_file_multiblock_read_count';
 
NAME
--------------------------------------------------------------------------------
      TYPE
----------
VALUE
--------------------------------------------------------------------------------
ISDEFAULT
---------
db_file_multiblock_read_count
         3
16
FALSE
 
 
SQL>

after:

SQL> col NAME format a30
SQL> col TYPE format a20
SQL> col VALUE format a20
SQL> col ISDEFAULT format a20
SQL> set linesize 150
SQL> select name,type,value,isdefault from v$parameter where name='db_file_multiblock_read_count';
 
NAME                                 TYPE VALUE                ISDEFAULT
------------------------------ ---------- -------------------- --------------------
db_file_multiblock_read_count  ########## 16                   FALSE
 
SQL>

「一键投喂 软糖/蛋糕/布丁/牛奶/冰阔乐!」

e2c

(๑>ڡ<)☆谢谢老板~

使用微信扫描二维码完成支付

版权声明:本文为作者原创,如需转载须联系作者本人同意,未经作者本人同意不得擅自转载。
添加新评论
暂无评论