global class DF_BatchToExcessFields implements Database.Batchable{ public list query = new list(); string str; global DF_BatchToExcessFields(list lstObjectAsString) { query.addAll(lstObjectAsString); } global Database.querylocator start(Database.BatchableContext info){ str='select id from account'; return Database.getQueryLocator(str); } global void execute(Database.BatchableContext info, List scope){ //scope = new List(); system.debug('+++++++++++query+++++'+query); } global void finish(Database.BatchableContext info){ } }