dbTalk Databases Forums  

SELECTION CRITERIA

comp.databases.oracle comp.databases.oracle


Discuss SELECTION CRITERIA in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin
 
Posts: n/a

Default SELECTION CRITERIA - 09-08-2004 , 09:54 AM






Hi, I'm in need of some SQL help regarding selection information from
an Oracle user account that only has "SELECT_CATALOG_ROLE' granted to
a schema within the same instance. I will not be able to get direct
access to the schema for some time. I will not be able to have "SELECT
ANY TABLE" granted or public synonymn.

The following is an example of what I need:

select * from <schema>.<table>; (This of course gives me an error
"ORA-00942: table or view does not exist")

I have access to views(dba_/v$/etc..)

What should I do?

Reply With Quote
  #2  
Old   
Wario
 
Posts: n/a

Default Re: SELECTION CRITERIA - 09-09-2004 , 08:28 AM






SELECT_CATALOG_ROLE grants you select privileges to data dictionary
tables. The table you are trying to query does not fall into this
category.

In order to query a table in another schema, you must have privileges
to that tables. privileges can only be grant by user with DBA
rights.

i.e.

grant select on schema.table to scott;
grant update on schema.table to scott;

Reply With Quote
  #3  
Old   
Kevin
 
Posts: n/a

Default Re: SELECTION CRITERIA - 09-09-2004 , 01:33 PM



sergeant.rock (AT) gmail (DOT) com (Wario) wrote in message news:<c75b43bb.0409090528.39e5c2b0 (AT) posting (DOT) google.com>...
Quote:
SELECT_CATALOG_ROLE grants you select privileges to data dictionary
tables. The table you are trying to query does not fall into this
category.

In order to query a table in another schema, you must have privileges
to that tables. privileges can only be grant by user with DBA
rights.

i.e.

grant select on schema.table to scott;
grant update on schema.table to scott;
I'm trying to find a way, if possible, around that. The id I'm using
and can only use for right now is only granted the "SELECT CATALOG..."
For now, granting select/etc... will not be possible for security
reasons. It is in the works, paperwork/etc... sign off
procedures/etc... This will take months before the user account is
granted the correct priveledges. My question is if there is a way for
me to select the information I need with only having "SELECT
CATALOG..." granted to the user?


Reply With Quote
  #4  
Old   
Romeo Olympia
 
Posts: n/a

Default Re: SELECTION CRITERIA - 09-09-2004 , 09:08 PM



Well, that would be a "NO". This is the whole point behind security privileges.

kevin.m.mcdonald (AT) citigroup (DOT) com (Kevin) wrote in message news:<8aad2b51.0409091033.23ae6b79 (AT) posting (DOT) google.com>...
Quote:
sergeant.rock (AT) gmail (DOT) com (Wario) wrote in message news:<c75b43bb.0409090528.39e5c2b0 (AT) posting (DOT) google.com>...
SELECT_CATALOG_ROLE grants you select privileges to data dictionary
tables. The table you are trying to query does not fall into this
category.

In order to query a table in another schema, you must have privileges
to that tables. privileges can only be grant by user with DBA
rights.

i.e.

grant select on schema.table to scott;
grant update on schema.table to scott;

I'm trying to find a way, if possible, around that. The id I'm using
and can only use for right now is only granted the "SELECT CATALOG..."
For now, granting select/etc... will not be possible for security
reasons. It is in the works, paperwork/etc... sign off
procedures/etc... This will take months before the user account is
granted the correct priveledges. My question is if there is a way for
me to select the information I need with only having "SELECT
CATALOG..." granted to the user?

Reply With Quote
  #5  
Old   
Wario
 
Posts: n/a

Default Re: SELECTION CRITERIA - 09-10-2004 , 08:30 AM



I agree with Romeo. There is not way to circumvent the system without
the correct privileges.

Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.