BEGIN NOT ATOMIC SET @a=1; CREATE TABLE test.t1(a INT); END| CREATE PROCEDURE t( ) BEGIN DECLARE x TINYINT UNSIGNED DEFAULT 1; BEGIN DECLARE x CHAR(2) DEFAULT '02'; DECLARE y TINYINT UNSIGNED DEFAULT 10; SELECT x, y; END; SELECT x; END; BEGIN NOT ATOMIC DECLARE foo CONDITION FOR 1146; DECLARE x INT DEFAULT 0; DECLARE CONTINUE HANDLER FOR SET x=1; INSERT INTO test.t1 VALUES ("hndlr1", val, 2); END|
SQL Справочник v0.05 © 2007-2025 Igor Salnikov aka SunDoctor