![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lsnrctl start script for Oracle on Solaris | prakash.gr | Shell Programming and Scripting | 4 | 06-14-2009 06:33 AM |
| Install Guide: Oracle Database 11 g Release 1 on Oracle Enterprise Linux 5 | iBot | Oracle Updates (RSS) | 0 | 09-11-2008 03:15 AM |
| Install Guide: Oracle Database 11g Release 1 on Oracle Enterprise Linux 5 | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 06:10 AM |
| Drop Users | trfrye | UNIX for Dummies Questions & Answers | 2 | 08-31-2005 04:39 PM |
| oracle database on solaris and linux | ganga | UNIX for Dummies Questions & Answers | 3 | 11-27-2003 11:06 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Script to drop oracle DB users on HP, LINUX, SOLARIS
Hi everybody, i need help from all of you. I have many users who are no more work in our Company. Some who get objects are Locked. There Many users and many Database Servers. And it'll take long for me to finished this job. That's why i need your help to provide me anyone Scripts for(HP,LINUX,SOLARIS) which drop all users who don't have any objects in all databases on all oracle Server. Hier his my Sql script which i want to combine your help Script Code:
select username, count (object_name)
from all_users, all_objects
where username = owner(+)
group by username
having count (object_name) = 0;
Und another one to import all users all users who still get objects in one Table. And i suppose to do it before Friday 03th of July 09 Afternoon. Thanks a lot in advance Sincerly your Sonson |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|