Hi Pavb

oops sorry you are right sqlplus copy command can do what you are trying to do gopu_g and no pl/sql coding required.

regards
Hrishy