distal-attribute
distal-attribute
distal-attribute
distal-attribute

Last row doesn't run when second last row has an error

mss posted 8 months ago in Running SQL scripts

When "Stop on errors in batch mode" is not selected and if second last row has error HeidiSQL will stop on error. Last row will not be executed at all. If I add a comment after last row, it runs fine.

This doesn't run SELECT 2;
SELECT 1;
fsddfsg;
SELECT 2;

This runs fine:
SELECT 1;
fsddfsg;
SELECT 2;
-- afsaaf







Please login to leave a reply, or register at first.