Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Bug Or a Feature?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00625610
Message ID:
00625700
Vues:
9
GO isn't a part of T-SQL. It's QA command that indicates the end of the batch and tells QA to process it.

>Yes, that is what I got.
>
>What my point is (was?) this: that if something is in a comment then it should be ignored, whether I type "go" or "SELECT x..." or "Micky Mouse is my favorite character!" After all, commenting out lines of code is something that every programming language allows you to do, and I really still do think it's strange behavior that the parser tries to interpret what's between /* and */ instead of ignoring it...
>
>John Barone
>
>
>>It is a bug, because it is fixed in the service pack (SP)
>>if u run it after installing the SP then it will not run
>>and will give u the following error .
>>
>>Server: Msg 113, Level 15, State 1, Line 10
>>Missing end comment mark '*/'.
>>Server: Msg 170, Level 15, State 1, Line 2
>>Line 2: Incorrect syntax near '*'.
>>
>>As a result , u should remove the 'go' from the comment.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform