Up to now SQuirrel always removed line comments "--..." and removed
multi line comments "/*...*/" by default. The default could be changed
at menu File --> New Session Properties --> tab SQL --> checkbox "Remove
multi line comment (/*...*/) from SQL before sending to database".
I just added the same option for line comments, too. Excerpt from our
change log:
New Session properties and database specific Query tokenizers now have
an option to keep SQuirreL from removing line comments "--..." before
sending SQLs to database.
See menu File --> New Session Properties --> tab SQL --> checkbox
"Remove line comment (--...) from SQL before sending to database"
I just released a new snapshot with the feature:
https://sourceforge.net/projects/squirrel-sql/files/3-snapshots/snapshot-20210604_1443/
It would be nice if you could give it a try.
Gerd
Am 04.06.21 um 01:01 schrieb info:
> Comments in Informix stored procedures are lost if not surrounded with
> curly braces.
> This created through Squirrel results in the comment lines 1 and 3 lost.
> dbaccess creates all 3 of them.
>
> create procedure tttt();
> -- comment1
> {comment2
> comment2}
> /*comment3
> comment3*/
> end procedure;
>
> Thank you,
>
>
>
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
|