Re: SQL info

From: Ana Maria Santos <ana_at_news.ci.ua.pt>
Date: 1995/09/04
Message-ID: <42f3ir$b1s_at_titan.ci.ua.pt>#1/1


Praveen Rao (rao_at_ee.uwm.edu) wrote:

: Try
: 	select * from table
: 		where rownum < 51 ;

Hi again,

        when I started to implement that in my program, I notest that the
"rownum" is assigned before any "order" clause. So, when I do

		select * from table
		where rownum < 5
		order by column_a;

	what I get is a order by column_a for the first 5 ocorrences, by order
of insertion on the table.

        Is there any way for doing the "order" and after that the condition
"rownum < 5" ? or... I will have to do that in Pro*C?

Thanks for any answer,

        Ana Received on Mon Sep 04 1995 - 00:00:00 CEST

Original text of this message