Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Commenting out GO 2

Status
Not open for further replies.

bperry

Programmer
Jul 27, 2001
1,033
CA
In thread183-255524 last week, <cfaulkner> correctly comments out GO in the stored procedure like this:

--GO

But you might be interested to discover that this does NOT work with GO:

/*
GO
*/

In this case, the GO will terminate the batch, and will also cause an error, because the parser will see /* in the first batch and report &quot;Missing end comment mark&quot;


bp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top