Dear gurus !
Is there a way to give column level privileges in 8.1.7 , i.e.
i have a table MYTAB (with more than 2 columns) , owned by AAA.
I want to grant user BBB the following priveleges :
select on AAA.MYTAB.COL1
update on AAA.MYTAB.COL2
is it possible at all in 8.1.7?
thanks.
--
Do it indirectly, creating a view with col1 and col2 and granting BBB user
privileges to select/update the view.
Igor Neyman, OCP DBA
[EMAIL PROTECTED]
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 8:53 AM
Dear
Andrey,
Having difficulty getting access to the 8i docs just now but the below is an
excerpt from the Oracle 7 docs.
To grant BLAKE the REFERENCES privilege on the EMPNO column and the UPDATE
privilege on the EMPNO, SAL, and COMM columns of the EMP table in the schema
SCOTT, issue the following
I deleted the original mail, but You can find this topic in
Oracle8i SQL Reference
Release 3 (8.1.7)
Part Number A85397-01
SQL statement GRANT
look under section syntax
grant_object_privileges_clause image
Although there is a note
column
Specify the table or view column on which privileges
Yes , thanks.
But , can i grant select on one column and update on another one using views
?
I'm not aware of such a way.
I also almost sure that there is no straight-forward way to do it, but are
there any workarounds for this ?
cheers.
DBAndrey
* 03-9254520
* 058-548133
* mailto:[EMAIL
You need to determine the list of columns that you need to grant select on.
Create a view tat returns these columns.
Then you can: grant select, update ( col1, col2, etc) on view to your-user.
Regards,
Waleed
-Original Message-
Sent: Wednesday, April 24, 2002 10:38 AM
To: Multiple
thanks a lot to all who replied !
DBAndrey
* 03-9254520
* 058-548133
* mailto:[EMAIL PROTECTED]
-Original Message-
Sent: Wed, April 24, 2002 4:24 PM
To: Multiple recipients of list ORACLE-L
I deleted the original mail, but You can find this topic in
Oracle8i SQL Reference