Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Limit statement

Author  Topic 

the1gadget
Yak Posting Veteran

55 Posts

Posted - 2005-09-08 : 11:56:44
Hi All

Something I have been wondering about for a bit of time.
in MySQL you can do something like

SELECT * FROM table LIMIT 5,10

I would like (a simple) to do it with Microsoft SQL. I would be displaying it in ASP.

I have seen http://www.asp101.com/articles/recordsetpaging/index.asp but this appear to still bring back the rows to the ASP server.

--
David

X002548
Not Just a Number

15586 Posts

Posted - 2005-09-08 : 12:26:04
This is the best I've seen

http://weblogs.sqlteam.com/jeffs/archive/2004/03/22/1085.aspx



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx
Go to Top of Page

the1gadget
Yak Posting Veteran

55 Posts

Posted - 2005-09-09 : 09:34:15
Ta.

Looks OK for simple stuff but anything with any complexity to it has no hope. However it is the best that I have seen as well.

:(

--
David
Go to Top of Page
   

- Advertisement -