您好,登錄后才能下訂單哦!
$ORACLE_HOME/sqlplus/admin/glogin.sql 這個文件可以設置登錄sqlplus后的環境變量
set linesize 200 pagesize 100
col segment_name for a20
col table_name for a30
col instance_number for 999
-- Defaults for editor
define_editor = "vi"
-- set sqlprompt "&_connect_identifier>"
column plan_plus_exp format a80
column global_name new_value gname
set termout off
--select lower(user) || '@' ||
--case when instr(global_name,'.')>1
--then substr(global_name,1,instr(global_name,'.')-1)
--else global_name end
--global_name from global_name;
select lower(user) || '@' ||
case when instr(global_name,'.')>1
then substr(global_name,1,instr(global_name,'.')-1)
else global_name end || '@' || host_name
global_name from global_name, v$instance;
set sqlprompt '&gname> '
set termout on
set time on timing on
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。