Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculated column name with spaces
Message
From
10/05/2011 17:06:49
 
 
To
10/05/2011 16:40:47
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01510215
Message ID:
01510220
Views:
44
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform