access first 10 rows

dille

New Member
Does anyone know how to access the first 10 rows of a table in a progress 9d database??

select * from table_name where rownum <= 10 does not work, I get the error that this feature is not yet supported, but is there any other way to accomplish this?
 
thanx,

I've read something it might be possible with a cursor and a fetch in sql-92??? Does someone know how?
 
You would need to issue your SELECT, then iterate through the first ten rows of the result set in whatever language you are calling the SQL from (eg. VB).

I don't use SQL, so haven't got an example, maybe someone else has.
 
Back
Top