Home » SQL & PL/SQL » SQL & PL/SQL » TTITLE
TTITLE [message #11037] Tue, 02 March 2004 12:52 Go to next message
Ravi
Messages: 251
Registered: June 1998
Senior Member
How do I use the TTITLE command to display a Page X of TotalPage?

I know that the Page X can be displayed using "TTITLE RIGHT 'Page: ' FORMAT 999 SQL.PNO SKIP 1". How about TotalPage? Thanks!
Re: TTITLE [message #11082 is a reply to message #11037] Fri, 05 March 2004 01:04 Go to previous message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
Hi,

This would only be possible if you know how many pages will be returned in advance. The problem is that sqlplus doesn't know either. Example:

DEFINE TotalPages=128

TTITLE RIGHT 'Page: ' FORMAT 999 SQL.PNO " from " FORMAT 999 TotatPages SKIP 1


Best regards.

Frank
Previous Topic: datafile recovering
Next Topic: Faster Query
Goto Forum:
  


Current Time: Thu Apr 25 10:39:07 CDT 2024