Hi
How can I distinct result of paged query? I want to distinct results that I paged using SQL Server 2005 paging method
SELECT * FROM
(SELECT ROW_NUMBER() OVER (ORDER BY [dbo].[Tbl_Kartabl].[FKLoginID]) AS Row, [dbo].[Tbl_Kartabl].[FKLoginID]
FROM [dbo].[Tbl_Kartabl]) AS PagedResults
WHERE Row >= 1 AND Row <= 10
How can I do this?
How can I implement this in SubSonic 2?