set termout off
column object_name format a30
column table_name format a30
column segment_name format a30
column file_name format a30
column name format a30
column loginname format a30
column what format a30 word_wrapped
column plan_plus_exp format a100
set trimspool on
set long 50000
set wrap off
set linesize 260
set pagesize 50000
set verify off
set serveroutput on size 1000000 format wrapped
define gname=SQL
column name new_value gname
select lower(user)||'@'||
substr(name,1,decode(dot,0,length(name),dot-1)) name
from (select name, instr(name,'.') dot
from v);
set sqlprompt '&gname> '
set termout on
蛮有用的,记录一下。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25618347/viewspace-713822/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25618347/viewspace-713822/