Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Proper syntax for select *, rownum

Re: Proper syntax for select *, rownum

From: Stephan Bressler <agadir_at_web.de>
Date: Wed, 06 Aug 2003 15:16:48 +0200
Message-ID: <3F30FFC0.1060409@web.de>

> select rownum, * from mytable;
>
> What's the proper syntax??

select rownum, mytable.* from mytable
or
select rownum, myalias.* from mytable myalias

Stephan Received on Wed Aug 06 2003 - 08:16:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US