Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Grant column

RE: Grant column

From: Lex de Haan <lex.de.haan_at_naturaljoin.nl>
Date: Tue, 21 Dec 2004 18:43:37 +0100
Message-Id: <20041221174338.CE7CF458287@ha-smtp2.tiscali.nl>


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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] 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_at_gmail.com] 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_at_lifetouch.com> 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.
>
> --
> http://www.freelists.org/webpage/oracle-l
>

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



--
http://www.freelists.org/webpage/oracle-l
Received on Tue Dec 21 2004 - 11:43:39 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US