Hi sandeep following query can be use for querying record from table. "select a.emp_id from tbl_employee a where page_size> (select count(*) from tbl_employee b where a.emp_id>b.emp_id and b.emp_id >=initial_value) and emp_id >=initial_value" let suppose you have to query first 10 records from table for first page so you place 10 in place of page size and in place of initial value you write value from where next 10 records have to be search. In my scenario i have to find records from employee table you can write your own query for this...
Hi sandeep following query can be use for querying record from table. "select a.emp_id from tbl_employee a where page_size> (select count(*) from tbl_employee b where a.emp_id>b.emp_id and b.emp_id >=initial_value) and emp_id >=initial_value" let suppose you have to query first 10 records from table for first page so you place 10 in place of page size and in place of initial value you write value from where next 10 records have to be search. In my scenario i have to find records from employee table you can write your own query for this...