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: duplicated object

Re: duplicated object

From: Keith Boulton <kboulton_at_ntlworld.com>
Date: Fri, 1 Feb 2002 21:50:41 -0000
Message-ID: <n0E68.9834$Cs.1218390@news11-gui.server.ntli.net>


In DDL commands, object (table) names are converted to upper case so:

    create table fred ...

is the same as

    create table FRED

You can mixed case objects by enclosing the object name in double quotes e.g.

 create table "Fred" ...

No-one does it because it's a pain in the bum when coding as you have to reference the object in the same way i.e.

 select * from "Fred"

Luca Saccarola <lsaccarola_at_computercenter.it> wrote in message news:Pine.WNT.4.33.0202011841061.1356-100000_at_w-saccarol...
> Hi All,
>
> a simple (I hope) question from an Oracle beginners. I'm using Oracle
> 8.0.5 on Unixware 7.0.1. The statement
>
> select table_name from user_tables where upper(table_name) = 'PIPPO'
>
> give me
>
> PIPPO
> Pippo
>
> So I've assumed that the db installation I'm playing with is case
> sensitive but when I've tried to create a new table named 'PippO' I've
> got:
>
> ORA-955: name is already used by an existing object
>
> Any tips ?
>
> Regards
>
>
Received on Fri Feb 01 2002 - 15:50:41 CST

Original text of this message

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