我们平时进入sqlplus,提示符号都是:sql>,如果想修改为我们需要的,是否可行,答案是肯定的,
使用set sqlprompt即可:
SQL> set sqlprompt " sztech > "
sztech >
sztech > conn / as sysdba
已连接。
sztech >
现在看到,提示符号变为 sztech > 了
跟郑老师 又学了一招
[oracle@all-test ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.3.0 Production on 星期四 3月 7 12:37:45 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
SQL> set sqlprompt "orcl>"
orcl>connect sys/110110 as sysdba
已连接。
orcl>
| 欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/) | Powered by Discuz! X3.2 |