Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop role not working, it hangs.

Status
Not open for further replies.

tekpr00

IS-IT--Management
Jan 22, 2008
186
0
0
CA
Hello All,

Drop Role is not working for me. It hangs:

drop role CALLCHK_USER cascade ;
drop role CALLIGO_USER cascade;

The above statements just hang without error output.
Any input will be appreciated.
I am thinking I need to temporarily disable a constraint.
How to identify which constraints to disable.
I cannot disable all as this is a working database.


 
Just a hypothesis: A user or process is using that Role. Try dropping the Role when only DBA has access, like just after a restart.

==================================
advanced cognitive capabilities and other marketing buzzwords explained with sarcastic simplicity


 
You should be able to drop a role while users are logged on. However the correct commands are

drop role CALLCHK_USER;
drop role CALLIGO_USER;

Get rid of the cascade

Bill
Lead Application Developer
New York State, USA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top