Home > Archive > MS SQL Server > January 2006 > Re: braces









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: braces
Adam Machanic

2006-01-04, 11:23 am

Words surrounded by braces are called "delimited identifiers", and you can
use them to embed things like spaces and other characters that break the
rules. For instance:

CREATE TABLE [My Table]
(
[My Column] INT
)


--
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
--


"Fred" <fred@ilovespam.com> wrote in message
news:%23FiWJ2UEGHA.472@TK2MSFTNGP12.phx.gbl...
> what r the used for?
> what is the difference bitween [CustomerID] and CustomerID
>
> thanks



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com