Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to slice the result set by row number in SQL 7.0

Status
Not open for further replies.

henryz

Programmer
Oct 3, 2001
33
AU
Hi,

Is it possible to slice the result set by row number in SQL 7.0 ? I know in
Oracle, there is a keyword called "ROWNUM" which can easily slice the result
by specifying a fixed number of returned rows. How can we do this in SQL
7.0?

Thanks

Henry

 
If i have understood this, then i think it is possible by a datatype "Uniqueidentifier" which provides u with a globally unique GUID for each row in the DB. Further I dont know how "@@Rowcount" is going to help this.Further u can use "Fetch relative" statement with cursor which might work but is too complicated.

Hope this was of some help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top