常用sqlplus修饰参数


/* set termout off
 define PROMTP=idle
 column PROMTP new_value PROMTP
 select '_user'||chr(39)||'@'||chr(39)||'_connect_identifier' PROMTP from dual;
 select '_user'||chr(39)||'_S:'||m.sid||'_P:'||p.spid||'_'||chr(39)||'_connect_identifier' PROMTP 
 from v$session s,v$mystat m,v$process p 
 where s.sid=m.sid 
  and s.paddr=p.addr 
  and rownum=1;
set sqlprompt "&PROMTP> "
set termout on
*/

set serveroutput on
set trimspool on
set long 5000
set linesize 100
set pagesize 9999
column plan_plus_exp format a80
DEFINE _EDITOR = "vim"  /* linux */
-- DEFINE _EDITOR = "notepad" /* windows */
col PROPERTY_VALUE for a20
col DESCRIPTION for a40
col event for a58
col P1TEXT for a30
col OPTIONS for a30
col file_name for a45
col tablespace_name for a15
col table_name for a25
col column_name for a25
col member for a45
col status for a10
col segment_name for a25
col SID for 9999999999
col NAME for a50
col DISPLAY_VALUE for a15
col ISSPECIFIED for a12
col UPDATE_COMMENT for a15
COL HIGH_VALUE for a20
col TOPNSQL for a20
col retention for a20
col SNAP_INTERVAL for a20
col DESCRIPTION for a50
col OBJECT_NAME for a30
col parameter for a30
col error for a20
col FILE_NAME for a45

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值