Hey
How can i retrive rows between m and n (10 -20). I already have identity column in the table, that will not give results insequential order for given select queries. I can get row number as below ...
WITH ONE_MIL_t AS
(SELECT * , ROW_NUMBER() OVER (order by abc, startdate)as RowNumber
FROM ONE_MIL )
SELECT *
FROM ONE_MIL_t
where RowNumber between 20 and 100000 ;
Can i get resulset using cursors. Will cursor give same performance like above or ??? Regards
Shrikant
Regards
Shrikant Kulkarni