Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a Caption?
Message
 
 
À
31/08/2000 19:29:03
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Divers
Thread ID:
00406199
Message ID:
00414924
Vues:
17
>>>Just playing around with SQL 7. You have captions for fields in VFP and Access. Why not SQL? Am I stupid, blind or both?
>>>
>>>
>>>Jeff
>>
>>Because Field names can be very nearly anything, you don't really need this capability in SQL Server (IMO).
>>
>>create table mytable ([Last Name] varchar(20),[First Name] varchar(15))
>
>Yes you can. But it is a very very bad idea to create fields with imbedded spaces (IMHO). You are setting yourself up for all sort of PITA problems when you start doing queries againsts it.

If you enclose them in quotes, you shouldn't have any problems. It just makes for really long SQL statements. ;-)
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform