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

Home -> Community -> Usenet -> c.d.o.server -> Re: Why Oracle Enforce Name Uniquness ???!!!

Re: Why Oracle Enforce Name Uniquness ???!!!

From: EdStevens <quetico_man_at_yahoo.com>
Date: 3 Nov 2006 09:54:37 -0800
Message-ID: <1162576477.620066.168250@m73g2000cwd.googlegroups.com>

bdbafh wrote:
> klabu wrote:
> > Dang !
> >
> > why Oracle does not allow a table to have same name as another object type
> > ???!!!
> >
> > SQL> create or replace package woohoo is procedure p_woohoo; end ;
> > 2 /
> >
> > Package created
> >
> > SQL> create table woohoo as select * from scott.emp;
> >
> > ORA-00955: name is already used by an existing object
> >
> >
> >
> > <10gR2>
>
> just use double quotes and mixed case and you'll be fine.
>
> -bdbafh

Therein lies the road to maintenance hell. Received on Fri Nov 03 2006 - 11:54:37 CST

Original text of this message

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