473,387 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SELECTION CRITERIA

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?
Jul 19 '05 #1
4 7991
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;
Jul 19 '05 #2
se***********@gmail.com (Wario) wrote in message news:<c7**************************@posting.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?
Jul 19 '05 #3
Well, that would be a "NO". This is the whole point behind security privileges.

ke**************@citigroup.com (Kevin) wrote in message news:<8a**************************@posting.google. com>...
se***********@gmail.com (Wario) wrote in message news:<c7**************************@posting.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?

Jul 19 '05 #4
I agree with Romeo. There is not way to circumvent the system without
the correct privileges.
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Keith Griffiths | last post by:
I'm trying to do a search under a set criteria followed by a selection of random entries meeting this criteria. But I don't seem to be able to achieve this. The idea being to search on say...
1
by: Steve | last post by:
I have a continuous form with several unbound comboboxes in the form header. The comboboxes are used to provide criteria for the SQL of the form. The code behind the form looks like: Public Sub...
1
by: BigJay | last post by:
I am 1. trying to have a combobox used as a selector to display records in a subform. and not sure on how to get selected info into subform.the combo is populated but can not get subform updated...
1
by: Bob Alston | last post by:
I am trying to use an access sql statement in a module that does a left outer join on one table - joined to a table that has a selection criteria. The result is an inner join. If I do this in...
8
by: Steve Jorgensen | last post by:
Mailing List management is a good example of a case where my conundrum arises. Say there is a m-m relationship between parties and groups - anyone can be a member of any combintation of groups. ...
4
by: Takeadoe | last post by:
I recently asked the group for help on converting 3 numeric variables to a new date variable. The DATESERIAL function below worked perfectly! My question now relates to problems with this new...
5
by: Col | last post by:
I have a query with criteria that comes from a combo box on a form. I'd like to set the query up so the user can either limit the criteria to the selection in the combo box or the user can pull all...
6
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
3
by: Manuel Ebert | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear list, who's got aesthetic advice for the following problem? I've got some joint probabilities of two distinct events Pr(X=x, Y=y), stored...
1
by: annemariearmour | last post by:
I am using Crystal reports version 11.2 to create reports. The data source is SQL Server, and I am using views rather than reporting directly from tables. I apply selection criteria to the incoming...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.