473,414 Members | 1,738 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,414 software developers and data experts.

Grant Previleges to Objects and Varrays

create TYPE temp1 AS OBJECT (
col1 VARCHAR2(20),
col2 VARCHAR2(20)
)
/

create TYPE temp1_array
AS VARRAY (6) OF temp1
/

Instead of giving execute privilege on Object, I would like to grant
the execute privilege only on temp1_array to USER1. Does it grant
indirectly execute privilege on Temp1 object or do I have to grant
execute privilege to temp1 object explicitly?
Jul 19 '05 #1
1 3199
HI.

You can grant execute on temp1_array to USER1 and see that the only
granted object is temp1_array with:

select * from user_tab_privs where table_name like 'TEMP1%';

So, with USER1, you can reference temp1_array but not temp1.

Bye.

kv******@yahoo.com (KVN Chary) wrote in message news:<b6*************************@posting.google.c om>...
create TYPE temp1 AS OBJECT (
col1 VARCHAR2(20),
col2 VARCHAR2(20)
)
/

create TYPE temp1_array
AS VARRAY (6) OF temp1
/

Instead of giving execute privilege on Object, I would like to grant
the execute privilege only on temp1_array to USER1. Does it grant
indirectly execute privilege on Temp1 object or do I have to grant
execute privilege to temp1 object explicitly?

Jul 19 '05 #2

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

Similar topics

0
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I...
23
by: Alberto | last post by:
An OUTSTANDING example of a rebuttal. Worth a glance. Rather long, OBVIOUSLY feel fee to dismiss it entirely if not interested. But this habit of the rebuttals must go to a stop (forgive odd...
0
by: richasaraf | last post by:
Hey Guys !!!! Please help me out....... i have to make a small application using VARRAYS in Oracle 9i.... Can you guys suggest me something good....... Thanks in advance... and hoping for...
30
by: btober | last post by:
Whenever I create a temporary table, with something like CREATE TEMPORARY TABLE temptable1 AS SELECT * FROM paid.ad_hoc_query; New schemas appear, with names like "pg_temp_1". I guess the...
20
by: Praveen | last post by:
Hi All, I have an application for that we used oracle 8i as the db and we have written procedures using VARRAYs. Now, the requirement came to migrate it on DB2 UDB. Can anyone pls tell me is...
1
by: richard | last post by:
DB2 UDB v8.1.5 on Windows I want to grant some system function to user DB2 GRANT EXECUTE ON FUNCTION "SYSPROC".SNAPSHOT_DATABASE(INTEGER,VARCHAR()) TO USER This is the error message I got....
3
by: Chris Ochs | last post by:
Is there a shortcut to grant all privileges on a schema and it's objects to a user without having to issue GRANT statements for each individual object in the schema? Given all the possible types...
6
by: john_woo | last post by:
Hi, db2 GRANT all on a_table_name to user me is for a table, I'm wondering possible to grant all on all_tables to user me, without listing all tables' names? -- Thanks John
1
by: KVN Chary | last post by:
create TYPE temp1 AS OBJECT ( col1 VARCHAR2(20), col2 VARCHAR2(20) ) / create TYPE temp1_array AS VARRAY (6) OF temp1 /
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...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.