Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of recno()
Message
 
 
To
24/11/2001 13:21:01
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, British Columbia, Canada
General information
Forum:
Oracle
Category:
PL/SQL
Miscellaneous
Thread ID:
00585403
Message ID:
00585465
Views:
19
>Hi,
>
>I want to create an oracle cursor that has the record number as a column.
>
>Is there a function like vfp recno()?
>
>Paul de Niverville

Since you found the answer to your own question, I will just make a comment. I highly recommend against using this as PK or FK or anything meaningful. Oracle calls this a pseudo-column which means a false column. There are no guarantees that this row number will always be the same throughout the lifetime of the databse. For example, if you backup the database using the Oracle EXP [export] utility, then use IMP [import] to restore the DB, these IDs could change.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform