Home » SQL & PL/SQL » SQL & PL/SQL » how to display the row number
how to display the row number [message #1189] Wed, 10 April 2002 00:03 Go to next message
R.SIVAKUMAR
Messages: 48
Registered: February 2002
Member
how to display the row number in sql out put
Re: how to display the row number [message #1190 is a reply to message #1189] Wed, 10 April 2002 05:50 Go to previous messageGo to next message
Phenoracle
Messages: 35
Registered: March 2001
Member
Quick answer is

Select empno, rownum
from emp
/

But is this really what you want, not sure.

Have Fun

Phenoracle

Re: how to display the row number [message #1200 is a reply to message #1189] Wed, 10 April 2002 22:30 Go to previous message
Alpesh Kothari
Messages: 7
Registered: April 2002
Junior Member
Use the rownum column in the SQL Query
Previous Topic: ORA-01036: illegal variable name/number
Next Topic: Import database from Oracle to SQL? Help!
Goto Forum:
  


Current Time: Tue Apr 23 02:36:27 CDT 2024