Re: Select
- From: "John Bell" <jbellnewsposts@xxxxxxxxxxx>
- Date: Wed, 13 May 2009 20:55:07 +0100
"coady" <coady@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:76968BD5-6317-46C8-A482-9587BBA41A3B@xxxxxxxxxxxxxxxx
Thank you!! It worked.
I am a newbie. Could you explain what you meant by "keyword"?
Becuase the actual query I did was
select AccountCodeID,MaskID,Desc from dbo.AccountCode
After adding the brackets as following, it worked
select AccountCodeID,MaskID,[Desc] from dbo.AccountCode
Lookup the subject "Reserved Keywords" in books online or at http://msdn.microsoft.com/en-us/library/ms189822.aspx
and "Delimited Identifiers" http://msdn.microsoft.com/en-us/library/ms176027.aspx
John
.
- Follow-Ups:
- Re: Select
- From: coady
- Re: Select
- References:
- Select
- From: coady
- Re: Select
- From: Tom Cooper
- Re: Select
- From: coady
- Select
- Prev by Date: Problem resolved: Copy to Output: An attempt to attach an auto-named database for file C:\YOURUSERNAME\YOURPATH\YOURDATABASEHERE failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
- Next by Date: Re: Select
- Previous by thread: Re: Select
- Next by thread: Re: Select
- Index(es):
Relevant Pages
|