Report generation

393 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
393
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Report generation

  1. 1. Report generation V .Saranya AP / CSE Sri Vidya college of Engineering and technology, Virudhunagar.
  2. 2. Create a table with values
  3. 3. spool temp.txt clear screen clear columns column name heading 'STUDENT NAME' column sid heading 'STUDENT ID' column name heading 'STUDENT|NAME' column sid heading 'STUDENT|ID' set underline '=' column name format a24 column Sid format a24 ttitle center "STUDENT DETAILS" Btitle center "Detailed report" REPHEADER PAGE CENTER 'PERFECT REPORTS' set linesize 80 COLUMN sid FORMAT 9999 select * from student1; spool off clear columns Type this code into notepad and save as filename.sql Change the column name split the column name Underline the title Change the font size Add title Change the number format in id
  4. 4. Run the .sql file in command prompt.

×