UND[ERLINE] {c|ON|OFF}
控制SQL*Plus在输出查询结果时显示在列标题下方的分隔字符。缺省为“-”字符。
[OFF]:不显示。
[ON]:显示,并重置为缺省的“-”字符。
[c]:设置为指定字符。
![](https://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif)
SQL> set underline on
SQL> select * from scott.dept;
DEPTNO DNAME LOC
---------- -------------- ------------- ---注意这里!
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
SQL> set underline *
SQL> select * from scott.dept;
DEPTNO DNAME LOC
********** ************** ************* ---注意这里!
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON