I have aT-SQL script (for Sybase) which contains two slashes one line comments. The script works pretty well at Aqua Data Studio 4.7.2. But when I am running it calling Sybase.AdoNet2.AseClient.dll API it fails with message ‘ Incorrect syntax near “/” ‘ . I had to change these two-slashes comments to two-hyphens comments. And it works.
Also there is a page about SQL standard comments (http://manuals.sybase.com/onlinebooks/group-as/asg1250e/sqlug/@Generic__BookTextView/3747;pt=3524/*) It says ‘ /* … */ ‘ is only fully supported