Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Is there a way to use block comments after a GO in SQL?
  2. /*
  3. */
  4. PRINT 'Stuff'
  5. GO
  6. /*
  7. */
  8. PRINT 'Other stuff'
  9.        
  10. A fatal scripting error occurred.
  11. Incorrect syntax was encountered while parsing GO.
  12.        
  13. Msg 102, Level 15, State 1, Line 1
  14. Incorrect syntax near ''.
  15.        
  16. Msg 102, Level 15, State 1, Line 1
  17. Incorrect syntax near 'GO'.