Oracle adjusts the column width and row width of the output

before:

[sql]  view plain copy  
  1. C:\>sqlplus "/as sysdba"  
  2.   
  3. SQL*Plus: Release 10.2.0.1.0 - Production  on  Sun Mar 30 21:39:32 2014  
  4.   
  5. Copyright (c) 1982, 2005, Oracle.  All rights reserved.  
  6.   
  7.   
  8. Connected to:  
  9. Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production  
  10. With the Partitioning, OLAP and Data Mining options  
  11.   
  12. SQL> selectname,type,value,isdefault from v$parameter wherename='db_file_multiblock_read_count';    
  13.   
  14. NAME  
  15. --------------------------------------------------------------------------------  
  16.       TYPE  
  17. ----------  
  18. VALUE  
  19. --------------------------------------------------------------------------------  
  20. ISDEFAULT  
  21. ---------  
  22. db_file_multiblock_read_count  
  23.          3  
  24. 16  
  25. FALSE  
  26.   
  27.   
  28. SQL>  

after:


[sql]  view plain copy  
  1. SQL> col NAME format a30  
  2. SQL> col TYPE format a20  
  3. SQL> col VALUE format a20  
  4. SQL> col ISDEFAULT format a20  
  5. SQL> set linesize 150  
  6. SQL> selectname,type,value,isdefault from v$parameter wherename='db_file_multiblock_read_count';    
  7.   
  8. NAME                                 TYPE VALUE                ISDEFAULT  
  9. ------------------------------ ---------- -------------------- --------------------  
  10. db_file_multiblock_read_count  ########## 16                   FALSE  
  11.   
  12. SQL>  

Add a or A before the column width

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324696154&siteId=291194637