I want to pump data from table1 of database1 to table 2 of database 2.Here I want to pump the data from table 1 of database1 with criteria as first I have to get the max emp_id and then get the all the records less than that emp_id and then I have to pump the data to the destination and then delete the corressponding dataset from the table 2 of database2.