Posted by: Edi Yanto on: April 17, 2007
In Oracle, we can customize the column heading and formatted it’s value.
Controls display of a column:
COL[UMN] [ { column|alias } [option] ]
COLUMN ename HEADING ‘Employee Name’
COLUMN sal JUSTIFY LEFT FORMAT $99,990.00
COLUMN mgr FORMAT 999999 NULL ‘No Manager’
COLUMN ename
COLUMN ename CLEAR
Example:
Customized the SAL column heading and formatted salary values using a COLUMN command option.

Recent Comments