Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculated column name with spaces
Message
De
10/05/2011 17:06:49
 
 
À
10/05/2011 16:40:47
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01510215
Message ID:
01510220
Vues:
45
This message has been marked as a message which has helped to the initial question of the thread.
I see that it is possible in SQL Server to do a SQL select with a column name containing spaces.

Michel, while T-SQL allows you to include spaces in alias names, the practice should be discouraged.

Several tools/applications that consume result sets have difficulty with spaces - and a few will actually convert the space to an underscore (creating a potential conflict in name mapping).

Unless there is a requirement for doing so, and/or you're working in a tightly-controlled environment, I'd recommend against using spaces.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform