You are on page 1of 12

DEPARTMENT OF TECHNICAL

EDUCATION ANDHRA PRADESH


Name : M.Bhagya Lakshmi,
Designation : Lecturer in CCP,
Institution : GMR Polytechnic, Gajwel
Branch : DCCP
Semester : V Semester
Major Topic : SQL Plus
Sub –Topic : SQL EDITOR
Subject name : RDBMS
Subject Code : CCP- 505
Duration : 50 min.
Teaching Aids : PPT
CCP505.45 1
Objectives:

On the completion of this period you would


be able to know
 SQL reports

CCP505.45 2
Recap

We learned about
 SET Commands
 Their Syntax

CCP505.45 3
SQL Reports
 Changing column headings
 Formatting NUMBER,CHAR,VARCHAR2
LONG,DATE
 Copying listing and resetting column display
attributes

CCP505.45 4
SQL Reports (contd..)
 Suppressing duplicate value and inserting space
for clarity
 Calculating and printing summary lines
 Listing and removing spaces and summary line
definitions

CCP505.45 5
SQL Reports (contd..)
 Setting page dimensions
 Placing titles at the top and bottom of each page
 Displaying column values and the current data or
page number in your titles

CCP505.45 6
SQL Reports (contd..)

 Listing and suppressing page title definitions


 Sending query results to a file or printer

CCP505.45 7
Creation of Report in SQL*PLUS

 SQL*PLUS provides us with the several


commands for formatting query results

CCP505.45 8
Creation of Report in SQL*PLUS (contd..)

 Column commands
 Compute commands
 Title commands
 Setting page dimensions
 Storage and printing commands

CCP505.45 9
Summary

We have discussed about


 SQL reports

CCP505.45 10
Quiz
1. Commands for formatting query results are
a) Column commands
b) Compute commands
c) Title commands
d) All the above

CCP505.45 11
Frequently Asked Questions

3. Explain any four formatting commands used in


SQL PLUS

CCP505.45 12

You might also like