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

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

User, date Message
Written by mss
6 months ago
Category: Running SQL scripts
1 posts since Fri, 04 Apr 14

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.