Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numbers as column names?
Message
 
 
À
22/03/2001 15:07:18
Information générale
Forum:
Oracle
Catégorie:
PL/SQL
Divers
Thread ID:
00487701
Message ID:
00487777
Vues:
7
>>>In SQL Server, I can use Quoted Identifiers as in the following and have a column name be a number:
>>>
>>>Create Table Test ([20000] char(10))
>>>
>>>Is there a way to do this in Oracle?
>>
>>You can bet you always have to qualify that column name in quotes.
>>
>>create table test ("2000" varchar2(20))
>
>We'll have to MSSQL, too, so OK.
>Thanks!


Keep in mind that IMO starting table and/or field names with numbers or using reserved words as names is a very bad idea. Also, AFAIK, Oracle will not accept a password that starts with a number.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform