Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: page count in SQL*PLUS report
Frank wrote:
> Karsten Farrell wrote:
>
>> Ming wrote: >> >>> Hi, all: >>> How can I put something like 'Page 1 of xx' on SQLPLUS report? Thanks. >>> Ming >> >> >> ttitle ... right 'Page ' format 999 sql.pno >> >> But you probably already knew that. It's the "of xx" that you can't >> easily do in sqlplus (it doesn't know in advance how many pages will >> be generated). >> >> Of course, you could guestimate it by using a COLUMN...NOPRINT >> statement combined with SELECT >> COUNT(*)/rows_per_page_plus_header_plus_footer... kind of thing. >>
But who could figure out the syntax for RPT? Like IBM mainframe JCL, you never started from scratch ... always copy and edit. Received on Mon Jan 20 2003 - 12:18:04 CST
![]() |
![]() |