Home » SQL & PL/SQL » Client Tools » unable to drop roles (oracle 11.2.0.2, AIX)
unable to drop roles [message #538986] Tue, 10 January 2012 12:09 Go to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
When I try to drop the roles in dbartisan tool, I get an error saying "Drop DDL for **_***********_ROLE has not been generated because it is a system object", but if i go to sql prompt and say "drop role rolename", it is working. How do I remove the role in dbartisan itself? Please advise.
Re: unable to drop roles [message #538987 is a reply to message #538986] Tue, 10 January 2012 12:20 Go to previous messageGo to next message
BlackSwan
Messages: 21938
Registered: January 2009
Senior Member
>How do I remove the role in dbartisan itself?

What happens if you login again using dbartisan after issuing DDL from sqlplus?

It would be helpful if you followed Posting Guidelines - http://www.orafaq.com/forum/t/88153/0/
Re: unable to drop roles [message #538989 is a reply to message #538987] Tue, 10 January 2012 12:39 Go to previous messageGo to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
Once I remove the role from sql prompt, I dont see that role in dbartisan. But I could not remove the role from dbartisan.
Re: unable to drop roles [message #538990 is a reply to message #538989] Tue, 10 January 2012 12:43 Go to previous messageGo to next message
BlackSwan
Messages: 21938
Registered: January 2009
Senior Member
>Once I remove the role from sql prompt, I dont see that role in dbartisan
dbartisan provided you a Read Consistent view of the DB as of the time it started.
If it is important to you to see a current snapshot, then you need to start new session.
Re: unable to drop roles [message #538993 is a reply to message #538990] Tue, 10 January 2012 12:56 Go to previous messageGo to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
In dbartisan how to successfully remove the roles in a database?
Re: unable to drop roles [message #538994 is a reply to message #538993] Tue, 10 January 2012 13:07 Go to previous messageGo to next message
BlackSwan
Messages: 21938
Registered: January 2009
Senior Member
>In dbartisan how to successfully remove the roles in a database?

post this question in dbartisan forum
Re: unable to drop roles [message #538995 is a reply to message #538994] Tue, 10 January 2012 13:09 Go to previous messageGo to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
"Client Tools" portion of this forum can have discussions on dbartisan as well right?
Re: unable to drop roles [message #538996 is a reply to message #538995] Tue, 10 January 2012 13:14 Go to previous messageGo to next message
BlackSwan
Messages: 21938
Registered: January 2009
Senior Member
>"Client Tools" portion of this forum can have discussions on dbartisan as well right?

but what if nobody here uses or knows about dbartisan?
I do not recall it ever being discussed here.
I did not mean posting here was wrong, but you might get answer faster some place else.
Re: unable to drop roles [message #538997 is a reply to message #538996] Tue, 10 January 2012 13:14 Go to previous messageGo to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
Ok, I got it.
Re: unable to drop roles [message #538998 is a reply to message #538997] Tue, 10 January 2012 13:41 Go to previous message
Michel Cadot
Messages: 57605
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
As as (almost) always say, there is only one good tool: SQL*Plus.

Regards
Michel

[Updated on: Tue, 10 January 2012 13:42]

Report message to a moderator

Previous Topic: PLSQL command line help
Next Topic: TOAD - Direct connections back up
Goto Forum:
  


Current Time: Thu Apr 17 06:03:52 CDT 2014

Total time taken to generate the page: 0.09942 seconds