mysql存储过程 代码无法实现
mysql> CREATE PROCEDURE r1(IN p_name VARCHAR,OUT deleted_name SMALLINT UNSIGNED
OUT nameCounts SMALLINT UNSIGNED)
-> BEGIN
-> DELETE FROM tb3 WHERE username=p_name;
-> SELECT ROW_COUNT() INTO deleted_name;
-> SELECT COUNT(id) FROM tb3 INTO nameCounts;
-> END
-> //