global class DF_BatchToExcessFields implements Database.Batchable<sObject>{
public list<String> query = new list<String>();
string str;
global DF_BatchToExcessFields(list<String> 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<account> scope){
//scope = new List<String>();
system.debug('+++++++++++query+++++'+query);
}
global void finish(Database.BatchableContext info){
}
}