This site is for for all DBA related codes for day to day use . Welcome all to use my code for Oracle DBA related to day to day activities . I will keep posting my day to automaiton i did and the way i use them. set your oracle sid & oracle home and run the code snippets , it should work fine . Please feel free to comment and suggestions if you need any improment additional funtion to that.