Get Page wise record in SQL Server 10 records each page
;with pagewise as
(
SELECT ROW_NUMBER() OVER(ORDER BY id) AS rowno, ID, roww, name, city
FROM Student ) select * from pagewise where rowno>9 and rowno<21 order by rowno
Get Page wise record in SQL Server 10 records each page
;with pagewise as
(
SELECT ROW_NUMBER() OVER(ORDER BY id) AS rowno, ID, roww, name, city
FROM Student ) select * from pagewise where rowno>9 and rowno<21 order by rowno
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
No comments:
Post a Comment