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
 Import/Export (DTS) and Replication (2000)
 Query

Author  Topic 

kumarpav
Starting Member

18 Posts

Posted - 2004-12-04 : 07:15:34
Hi,

I want a simple query like

if i want data from m th row to n th row (m=5 and n=10 and m < n ) from a table.how to write a query?

kumarpav
Starting Member

18 Posts

Posted - 2004-12-04 : 12:00:54
i mean...
If i have 200 records in table..i want the query to display from m(=5) to n(=10) records (m=5 and n=10 and m<n).
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-12-05 : 22:19:42
quote:
Originally posted by kumarpav

i mean...
If i have 200 records in table..i want the query to display from m(=5) to n(=10) records (m=5 and n=10 and m<n).



it seems this has been tagged as homework question?

to help you though, try to look up for 'select' under BOL ,you basically have your criteria set already.

--------------------
keeping it simple...
Go to Top of Page
   

- Advertisement -