If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Found this script years ago, don't remember where but perhaps it'll suit your needs. Change the file suffix from .txt to .sh if you're using AIX otherwise just take the SQL & plug it into your SQL tool after changing "your_DB_name" to your DB name.