clear markdown compare help donate or buy diddy dollings comments/suggestions/bugs a leap of faith? bible365
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 818551 fiddles created (9197 in the last week).

create table DEMO (n int);
 hidden batch(es)


begin transaction;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'transaction' at line 1
 hidden batch(es)


insert into DEMO values (0);
 hidden batch(es)


select n "after insert" from DEMO;
after insert
0
 hidden batch(es)


update DEMO set n=1/n;
Division by 0
 hidden batch(es)


select n "after error" from DEMO;
after error
0
 hidden batch(es)


commit;
 hidden batch(es)


select n "after commit" from DEMO;
after commit
0
 hidden batch(es)