sqlplus登录脚本glogin.sql的配置

DEFINE sqlprompt=SQL
COLUMN sqlprompt NEW_VALUE sqlprompt
SET TERMOUT OFF
SELECT USER || '@' || NVL('&_CONNECT_IDENTIFIER', global_name )
sqlprompt
FROM global_name;
SET SQLPROMPT '&sqlprompt> '
UNDEFINE sqlprompt
SET TERMOUT ON
col owner format a12
col NAME format a40
col VALUE format a40
col MEMBER format a40
col ERROR format a40
col ARCHIVE_NAME format a40
col VALUE format 99999999999
COL OPEN_MODE FORMAT A20
col PROTECTION_MODE format A20
COL DATABASE_ROLE format A20
COL SWITCHOVER_STATUS FORMAT A20
col TABLE_NAME format a35
col TABLESPACE_NAME format a20
col FILENAME format a45
col SEGMENT_NAME format a40
col STATUS format a25
col username format a20
col directory_name format a30;
col directory_path format a65;
set linesize 300
set pagesize 500
column plan_plus_exp format a80
set serveroutput on size 1000000
define_editor=vi

posted on 2023-03-22 14:38  兔哥DB  阅读(24)  评论(0编辑  收藏  举报

导航