RE: Grant column

  • From: "Lex de Haan" <lex.de.haan@xxxxxxxxxxxxxx>
  • To: <DWILLIAMS@xxxxxxxxxxxxx>, "'Edgar Chupit'" <chupit@xxxxxxxxx>
  • Date: Tue, 21 Dec 2004 18:43:37 +0100

Dennis,
this is ANSI/ISO standard syntax -- *including* the ability to grant the
SELECT privilege on a column list.
So Oracle only *partly* implements the SQL standard here...

Cheers,
 
Lex.
 
----------------------------------------------------------------
Tom Kyte Seminar: http://www.naturaljoin.nl/events/seminars.html
----------------------------------------------------------------
 

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of DENNIS WILLIAMS
Sent: Tuesday, December 21, 2004 18:14
To: Edgar Chupit
Cc: Oracle-L
Subject: RE: Grant column

Thanks Edgar, David, Raj, everyone. 

Any speculation why Oracle got stingy on the SELECT? I guess I can see maybe
there are times where creating a view might interfere with update or insert.
Just seems like SELECT would have been easy to include while they were
coding this change. Does anyone know if this feature was added for ANSI
compatibility?

Dennis Williams
DBA
Lifetouch, Inc. 

-----Original Message-----
From: Edgar Chupit [mailto:chupit@xxxxxxxxx]
Sent: Tuesday, December 21, 2004 11:04 AM
To: DENNIS WILLIAMS
Cc: Oracle-L
Subject: Re: Grant column

From documentation: "You can specify columns only when granting the INSERT,
REFERENCES, or UPDATE privilege.".

On Tue, 21 Dec 2004 10:48:11 -0600, DENNIS WILLIAMS
<DWILLIAMS@xxxxxxxxxxxxx> wrote:
> According to the 9i documentation, you can now grant a column in a 
> table
to
> another user. I can't seem to get the syntax correct. Here is what the
fine
> manual seems to indicate:
> 
> GRANT SELECT (COLUMN1) ON TABLE1 TO USER1;
> 
>              *
> 
> ERROR at line 1:
> 
> ORA-00969: missing ON keyword
> 
> I've tried different syntax combinations with no luck. Has anyone else 
> succeeded at this?
> 
> Dennis Williams
> 
> DBA
> 
> Lifetouch, Inc.
> 
> --
> //www.freelists.org/webpage/oracle-l
> 


--
  Edgar
--
//www.freelists.org/webpage/oracle-l



--
//www.freelists.org/webpage/oracle-l

Other related posts: