Export of tables based on a query



1. Export table names starting with 'ce'

exp user/password  file=abc.dmp tables=ce% log=abc.log statistics=none buffer=1000000
  
Here tables=ce%  -- means table names starting with 'ce'



2. Export table names starting with 'ce' and 20 rows from each table


exp cellpay/cellpay  file=/bkup/cellpay.dmp tables=Ce% log=/bkup/cellpay.log statistics=none buffer=1000000 query=\'where rownum \<\= 20\'

   query=\'where rownum \<\= 20\'

Post a Comment

And that's all there is to it!

If anyone has any other questions or requests for future How To posts, you can either ask them in the comments or email me. Please don't feel shy at all!

I'm certainly not an expert, but I'll try my hardest to explain what I do know and research what I don't know.

Previous Post Next Post