• Thanks for the updated code. this code will be a great asset for all dba's.