mysql 定義條件和處理程序 demo解析

create table test.t( s1 int, primary key(s1)); create procedure handlerdemo() begin declare continue handler for SQLSTATE '23000' SET @x2=1; set @x=1; insert into test.t values(1); set @x=2;
相關文章
相關標籤/搜索