Home » SQL & PL/SQL » SQL & PL/SQL » ROWNUM Select
ROWNUM Select [message #7332] Thu, 05 June 2003 08:06 Go to next message
Sarah Harvey
Messages: 7
Registered: April 2003
Junior Member
Hi All

Is it possible to select ROWNUM as a field? i.e. use it a the main select statement and return the individual value for each result returned?

Many thanks, Sarah
Re: ROWNUM Select [message #7334 is a reply to message #7332] Thu, 05 June 2003 09:16 Go to previous message
Mike T
Messages: 32
Registered: August 2002
Member
yep, it's a pseudo column, so you can (pretty much) treat it as a normal column.

select rownum, field1, field2
from table
Previous Topic: Hash Tuning Problem
Next Topic: metadata
Goto Forum:
  


Current Time: Thu Apr 25 17:49:51 CDT 2024