Posted by Erland Sommarskog on 12/20/06 08:52
Goran (gzelic@gmail.com) writes:
> Can I define field names with more words in Access and SQL Server like
> field: "Bus station" instead "BusStation" or "Bus_Station"? I have had
> problems because of this in VB6. Can I have problems in VB 2005 or C# 2005
> and SQL Server?
Yes you can. You need to enclose the name in brackets [] or double quotes ""
whenever you use it.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|