• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Query a user's granted access

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oracle 9i database..
I am wondering what I would type for a query to see if a user was already granted access to specific tablespace. Anyone?
 
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tablespace is tricky. Are you sure you dont mean 'schema'?
There is a bug in 9iR1 which means you can do an ansi join to any table in any schema
It's been fixed for R2. Ok back to the question. A table can have grants to another user, or role, and a user can have roles. And a role can be given other roles.
If you have OEM installed have a poke around under 'Security'. Sorry I have no idea what an SQL query would look like, far to many combinations to cover.
 
SJ Adnams
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ask on dbasupport.com maybe
 
Jeff Grant
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Figured out what I wanted to know... I'm not a HUGE Oracle guy, but I know enough to get me in trouble.
What I was looking for was a list of whatever was granted access to the particular user which was signed in. I got the solution by doing a
Thanks though!
Anyone know how you can set the timeout of a session in JSP with Oracle 9i v9.1? It only won't accept session.setMaxInactiveInterval(900);
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic