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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Rename a column that had a reserved word

Re: Rename a column that had a reserved word

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 16 Apr 2007 07:02:06 -0700
Message-ID: <1176732126.006737.294620@e65g2000hsc.googlegroups.com>


On Apr 16, 8:19 am, "RJ" <ridwan.je..._at_gmail.com> wrote:
> Hi All,
>
> How do I rename a column that has a reserved word?
> E.g. I have a table with a column named 'Date'
>
> Thanks in Advance!!

Try placing the column name in double quotes. Pull the column name from dba_tab_columns and use exact case when using double quotes in your ALTER statement.

HTH -- Mark D Powell -- Received on Mon Apr 16 2007 - 09:02:06 CDT

Original text of this message

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