if u use a code like this, the PGScript will just do nothing. The reason is that the last comment is before the ";" (which is also the Default Delimiter)
Code: Select all
INSERT INTO a VALUES
('A'), -- Comment
('B') -- Comment Last line
;
* unable to find a button to upload an example. just execute this SQL Statement in a simple PGScript and you will see: nothing happens
Question: is there is any way to prevent the PGScripter from splitting the Statement? We want to execute the Script as one statement (with comments, which are also thrown away)
Actually i made it with typing "NEVER FIND THIS DELIMITER" in the Delimited Property.