vikkysharma wrote:Enrico thanks for your reply.
above code will copy all the records to output file, but i want to copy only selected fields of records to output file.
, that was not intended to be the solution to your problem. It was intended to tell us
don't know about your environment when you pasted the sysout into this thread
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day