Information générale
Forum:
Microsoft SQL Server
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement