Hi all, We are selecting top(5) built in function to select top 5 records. If we want to select the records after 5 means how can we able to select. Thanks in advance. Babu kumarasamy.
Hi, Do you mean something like this ? SELECT * FROM TABLE WHERE Column_ID NOT IN (SELECT TOP 5 Column_ID FROM TABLE) Regards parveen.
[quote user="atulmar"] Use Row_Number function, This is the main use of windowing functions in 2K5. [/quote] I fogot that this is posted in SQL Server 2005 forum [] http://sqlblogcasts.com/blogs/madhivanan/archive/2007/08/27/multipurpose-row-number-function.aspx