Professional Documents
Culture Documents
CCP505.47 2
Recap
We learned about
SQL Reports
CCP505.47 3
Creation of Report in SQL*PLUS
SQL*PLUS provides us with the several
commands for formatting query results
CCP505.47 4
Creation of Report in SQL*PLUS
(contd..)
Column commands
Compute commands
Title commands
Setting page dimensions
Storage and printing commands
CCP505.47 5
Title Commands
CCP505.47 6
Syntax
CCP505.47 7
Example
SQL> ttitle center ‘EMPLOYEE DETAILS’;
SQL> btitle center ‘PREPARED BY XXXX’;
SQL>Select * from emp;
CCP505.47 8
Title Commands (contd..)
CCP505.47 9
Title Commands (contd..)
CCP505.47 10
Query
Ttitle ‘EMPLYEE RECORD’ skip 1
Btitle center ‘prepared by xxxx’
Column deptno heading ‘DEPARTMENT_NO’
Column ename heading ‘EMP_NAME’
Column sal heading ‘SALARY’
Select deptno,ename,sal from emp;
CCP505.47 11
Summary
We have discussed about
Title command
CCP505.47 12
Quiz
1. To place top title on each page_________
Command is used
a) Btitle
b) Ttitle
c) Column command
d) all
CCP505.47 13
Frequently Asked Questions
CCP505.47 14