Re: SQL*PLUS CHALLANGE

From: Richard Bennett <richhb_at_sequent.com>
Date: 1996/09/26
Message-ID: <324B19EC.71D8_at_sequent.com>#1/1


Roya Mehrfar wrote:
>
> I have a sqlplus statement with an order by that I need to retrieve > only the first 25 rows. I tried where rownum < 26 but it trows away my > order by because I would like to do the order by first and then get > the first 25 rows.

Try rewriting your SQL*Plus statement as a cursor in PL/SQL.

-- 
===============================================================
Richard Bennett		E-Mail: richhb_at_sequent.com
				rbennett_at_teleport.com
Computer People Inc.	On contract to Sequent Computer Systems
Received on Thu Sep 26 1996 - 00:00:00 CEST

Original text of this message