column level grants

2002-04-24 Thread Andrey Bronfin


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.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Andrey Bronfin
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: column level grants

2002-04-24 Thread Igor Neyman

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 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.
 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.com
 --
 Author: Andrey Bronfin
   INET: [EMAIL PROTECTED]

 Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
 San Diego, California-- Public Internet access / Mailing Lists
 
 To REMOVE yourself from this mailing list, send an E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
 the message BODY, include a line containing: UNSUB ORACLE-L
 (or the name of mailing list you want to be removed from).  You may
 also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Igor Neyman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: column level grants

2002-04-24 Thread Nicoll, Iain (Calanais)

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 statement: 


GRANT REFERENCES (empno), UPDATE (empno, sal, comm) 
ON scott.emp
TO blake 

-Original Message-
Sent: Wednesday, April 24, 2002 1:53 PM
To: Multiple recipients of list ORACLE-L



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.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Andrey Bronfin
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nicoll, Iain (Calanais)
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Column level grants

2002-04-24 Thread G . Plivna


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 are to be granted. You
can specify columns only when granting the INSERT, REFERENCES, or UPDATE
privilege. If you do not list columns, the grantee has the specified
privilege on all columns in the table or view.

Gints Plivna
IT Sistçmas, Meríeïa 13, LV1050 Rîga
http://www.itsystems.lv/gints/




--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: column level grants

2002-04-24 Thread Andrey Bronfin

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 PROTECTED]





-Original Message-
Sent: Wed, April 24, 2002 3:17 PM
To: LazyDBA.com Discussion


Views are the Way you should Look at 

This will allow you to Give access to Particular Columns.

HTH

Best Regards,
Ganesh R
Tel  : +971 (4)  397 3337  Ext 420
Fax  : +971 (4)  397 6262
HP   : +971 (50) 745 6019

Live to learn... forget... and learn again. 




-Original Message-
Sent: Wednesday, April 24, 2002 4:56 PM
To: LazyDBA.com Discussion



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.


Oracle documentation is here:
http://tahiti.oracle.com/pls/tahiti/tahiti.homepage
To unsubscribe: send a blank email to [EMAIL PROTECTED]
To subscribe:   send a blank email to [EMAIL PROTECTED]
Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
Tell yer mates about http://www.farAwayJobs.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html


Oracle documentation is here:
http://tahiti.oracle.com/pls/tahiti/tahiti.homepage
To unsubscribe: send a blank email to [EMAIL PROTECTED]
To subscribe:   send a blank email to [EMAIL PROTECTED]
Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
Tell yer mates about http://www.farAwayJobs.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Andrey Bronfin
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: column level grants

2002-04-24 Thread Khedr, Waleed

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 recipients of list ORACLE-L


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 PROTECTED]





-Original Message-
Sent: Wed, April 24, 2002 3:17 PM
To: LazyDBA.com Discussion


Views are the Way you should Look at 

This will allow you to Give access to Particular Columns.

HTH

Best Regards,
Ganesh R
Tel  : +971 (4)  397 3337  Ext 420
Fax  : +971 (4)  397 6262
HP   : +971 (50) 745 6019

Live to learn... forget... and learn again. 




-Original Message-
Sent: Wednesday, April 24, 2002 4:56 PM
To: LazyDBA.com Discussion



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.


Oracle documentation is here:
http://tahiti.oracle.com/pls/tahiti/tahiti.homepage
To unsubscribe: send a blank email to [EMAIL PROTECTED]
To subscribe:   send a blank email to [EMAIL PROTECTED]
Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
Tell yer mates about http://www.farAwayJobs.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html


Oracle documentation is here:
http://tahiti.oracle.com/pls/tahiti/tahiti.homepage
To unsubscribe: send a blank email to [EMAIL PROTECTED]
To subscribe:   send a blank email to [EMAIL PROTECTED]
Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
Tell yer mates about http://www.farAwayJobs.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Andrey Bronfin
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Khedr, Waleed
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Column level grants - THANKS

2002-04-24 Thread Andrey Bronfin

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
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 are to be granted. You
can specify columns only when granting the INSERT, REFERENCES, or UPDATE
privilege. If you do not list columns, the grantee has the specified
privilege on all columns in the table or view.

Gints Plivna
IT Sistçmas, Meríeïa 13, LV1050 Rîga
http://www.itsystems.lv/gints/




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Andrey Bronfin
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).