Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

oracle user privileges

This is a discussion on oracle user privileges within the Oracle forums, part of the Databases category; which dictionary view will show all the privileges assigned to an oracle user?...

Go Back   Geeks Talk > Databases > Oracle
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
Junior Member
 
Join Date: Nov 2009
Location: Springfield, VA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
SDBA_ is on a distinguished road
Post oracle user privileges

which dictionary view will show all the privileges assigned to an oracle user?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2 Weeks Ago
Expert Member
 
Join Date: Apr 2007
Location: Bangalore
Posts: 517
Thanks: 30
Thanked 63 Times in 61 Posts
susarlasireesha will become famous soon enough
Re: oracle user privileges

Select LPAD (' ', 2 * Level)
|| granted_role "user, his roles and privileges"
From ( /* the users */Select Null grantee, username granted_role
From dba_users
Where username Like
UPPER
('%&enter_username%')
/* the roles to roles relations */
Union
Select grantee, granted_role
From dba_role_privs
/* the roles to privilege relations */
Union
Select grantee, Privilege
From dba_sys_privs)
Start With grantee Is Null
Connect By grantee = Prior granted_role;
__________________
Sireesha

Last edited by susarlasireesha; 2 Weeks Ago at 01:00 AM.
Reply With Quote
Reply

  Geeks Talk > Databases > Oracle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
New QTP user diyyala QTP 2 05-28-2009 01:44 AM
How to see what work the user had already done by the user on remote desktop Rajanikanth B.V Windows 2 01-20-2009 04:34 AM
Oracle 10g User name /password prem_18 Oracle 1 08-19-2008 06:04 PM
Assign Privileges to Users soumya_ghosh Data Warehousing 0 01-17-2008 12:28 AM
Grant Privileges krishnaindia2007 Oracle 10 12-24-2007 08:08 AM


All times are GMT -4. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved