sybase: multi-line comment generates following error: Missing end comment mark ”.

In sybsase transact-sql script, my multiline comment /* … */ generated the following error:

Missing end comment mark ”.

The reason is that:

  • my script is in an external file loaded via sqsh
  • sqsh relies on isql
  • in isql, according to official doc, ‘go’ instruction should not be at the beginning of a line inside a comment

=> I change my code from

/*
...
go
*/

to

/*
...
**go
*/

and this solved my issue.

sources

Post a Comment

Your email is never published nor shared. You're allow to say what you want...