Re: Syntax coloring: SERVICE
- From: "Gail Erickson [MS]" <gaile@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Nov 2006 09:44:27 -0800
You might want to cancel that. SERVICE isn't a keyword (*) and it is SSMS
that has it the wrong way.
Thanks Tibor. My follow-up investigation arrived at the same conclusion :>)
--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
Download the latest version of Books Online from
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
"Tibor Karaszi" <tibor_please.no.email_karaszi@xxxxxxxxxxxxxxxxxx> wrote in
message news:%23sIvrul$GHA.3536@xxxxxxxxxxxxxxxxxxxxxxx
Gail,
Why isn't SERVICE in the list of T-SQL reserved words in BOL 2005? (IIt probably should be. I've filed a doc bug for this issue. Thanks for
guess it's not a reserved word even though it gets colored blue.)
reporting this.
You might want to cancel that. SERVICE isn't a keyword (*) and it is SSMS
that has it the wrong way. Check out Roger Wolters book on SB, page 59-60
and you'll see that they designed it so that some of the new language
constructs aren't actually keywords. Roger talks about SEND and RECEIVE
but SERVICE seems to be in that category. In below script, there is no
error message, even though I'm not delimiting the word SERVICE:
USE tempdb
CREATE TABLE SERVICE (c1 int)
SELECT * FROM SERVICE
(*) One could of course get into the debate of what a keyword really is. I
don't know, perhaps a keyword can work as an un-qualified identifier,
while others can't. I'll leave that for you to investigate. :-)
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Gail Erickson [MS]" <gaile@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:urgXkIh$GHA.1220@xxxxxxxxxxxxxxxxxxxxxxx
Where is this documented? Why doesn't the word SERVICE have an indexYou're not getting anything returned in the index on the word 'service'?
entry
in BOL 2005?
In the most recent update to BOL, the index returns the following choices
when SERVICE is the keyword.
service See services [Analysis Services]
service See services [Integration Services]
service See services [Notification Services]
service See services [Reporting Services]
service See services [Service Broker]
service See services [SQL Server]
Or where you expecting to see something like this in the index?
SERVICE
ALTER
CREATE
DROP
If so, we could consider doing that in a future update, but for now you
would be better off using more complete phrases in the index like 'CREATE
SERVICE' or 'DROP SERVICE'.
Why isn't SERVICE in the list of T-SQL reserved words in BOL 2005? (IIt probably should be. I've filed a doc bug for this issue. Thanks for
guess it's not a reserved word even though it gets colored blue.)
reporting this.
And why, if anyone knows, does sending feedback on BOL 2005 fail with:
<sqldocfb@xxxxxxxxxxxxx>:
205.248.106.30 does not like recipient.
Remote host said: 550 5.1.1 User unknown
I suspect this is a transient error, but I've forwarded your e-mail to
the appropriate team for further evaluation.
--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no
rights
Download the latest version of Books Online from
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
"DWalker" <none@xxxxxxxx> wrote in message
news:edo4A2g$GHA.1556@xxxxxxxxxxxxxxxxxxxxxxx
"Arnie Rowland" <arnie@xxxxxxxx> wrote in
news:OvVsbCT$GHA.3260@xxxxxxxxxxxxxxxxxxxx:
[Service] is an object that you can create, drop, and use. Therefore
it is also a T-SQL keyword.
Where is this documented? Why doesn't the word SERVICE have an index
entry
in BOL 2005?
Why isn't SERVICE in the list of T-SQL reserved words in BOL 2005? (I
guess it's not a reserved word even though it gets colored blue.)
And why, if anyone knows, does sending feedback on BOL 2005 fail with:
<sqldocfb@xxxxxxxxxxxxx>:
205.248.106.30 does not like recipient.
Remote host said: 550 5.1.1 User unknown
???
Thanks.
David
.
- Follow-Ups:
- Re: Syntax coloring: SERVICE
- From: DWalker
- Re: Syntax coloring: SERVICE
- From: DWalker
- Re: Syntax coloring: SERVICE
- References:
- Syntax coloring: SERVICE
- From: DWalker
- Re: Syntax coloring: SERVICE
- From: Arnie Rowland
- Re: Syntax coloring: SERVICE
- From: DWalker
- Re: Syntax coloring: SERVICE
- From: Gail Erickson [MS]
- Re: Syntax coloring: SERVICE
- From: Tibor Karaszi
- Syntax coloring: SERVICE
- Prev by Date: repost: SqlServer 2005 => SMS => Object Explorer => Programability Filter question
- Next by Date: Red Gate Survey: Database development (source control/versioning)
- Previous by thread: Re: Syntax coloring: SERVICE
- Next by thread: Re: Syntax coloring: SERVICE
- Index(es):
Relevant Pages
|