Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page breaks with new Select statement in SQL report 1

Status
Not open for further replies.

saketbansal

IS-IT--Management
Jul 2, 2003
41
Hi,

I am working on SQL reports. The problem is if i use two select statements in the SQL file then there are two new pages but my requirement is i want to display both the SQL outputs on same page.

I am using breaks,compute,columns and Set commands for formatting.
 
Saketbansal,

Without seeing the SELECTs themselves, I can only suggest that you can probably resolve your problem with a SELECT...UNION...SELECT...ORDER BY.

Let us know.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
after the first select issue the following command

set embed on

This tells sqlPlus to not start the next select on a new page.

Bill
Oracle DBA/Developer
New York State, USA
 
Cool, Bill ! That is my "Learn-something-new-every-day" lesson. Hava
star.gif
.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
I believe that if one commits to awarding a
star.gif
, then it is appropriate to actually award the
star.gif
, right?

Sorry, Bill, for the delay.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
I didn't want to nag. Thank you.

Bill
Oracle DBA/Developer
New York State, USA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top