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)
 i want all rows excluding...

Author  Topic 

asifbhura
Posting Yak Master

165 Posts

Posted - 2006-07-20 : 01:58:28
Dear

I have more than 100 records in my table

I have fetched top 10 records.its ok

but i want all records from my table excluding top 10 records.

Please help me.

regards,
ASIF

chiragkhabaria
Master Smack Fu Yak Hacker

1907 Posts

Posted - 2006-07-20 : 02:03:49
Somthing like this

Select * From <YourTable> Where <PK> Not in (Select Top 10 <PK> From <Your TAble> )



Chirag
Go to Top of Page
   

- Advertisement -