I have, for example, 10.000 records in my table. Every time I execute the query I get the page number n as a parameter. And I have to select records from n to n*100, which satisfy some complicated condition. I also use ORDER BY, so I can’t keep the PrimaryKey of the last element and select top n records using the primary key. How can I achieve this?
I have, for example, 10.000 records in my table. Every time I execute the
Share
Pass the value of From and To parameter in following query on basis of Page calculation.