I run few drop
and alter
statements in MySQL workbench. How to skip to next statement when current statement fails ?
I am looking for a GO
keyword equivalent of MSSQL server in MySQL
I run few drop
and alter
statements in MySQL workbench. How to skip to next statement when current statement fails ?
I am looking for a GO
keyword equivalent of MSSQL server in MySQL
Which MySQL Workbench version you are using?
I am posting 2 options here: In MySQL Workbench, just un-check the option under Query to "Stop Script Execution on Errors":
and in a newer versions use 'Toggle whether execution of SQL script should continue after failed statements'
For details you can be found here
In MySQL Workbench, you can untick the option under Query to "Stop Script Execution on Errors": Following link may help you.