in reply to deep copy of complex database tables

Update: Thilosophy beat me to it ;-)

Why reinvent the wheel?

You should use the oracle utilities for this, which you can script via perl.

You need to use Oracle's exp utility. If you have admin rights on the DB, then you can export objects from one schema and import into another.

$ORACLE_HOME/bin/exp help=yes for export syntax

$ORACLE_HOME/bin/imp help=yes for import syntax

I hope I am not barking up the wrong tree.

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!