MySql插入點數據

DROP PROCEDURE IF EXISTS pre;
delimiter $$it


CREATE PROCEDURE pre ()
BEGINim

DECLARE i INT DEFAULT 1 ;
WHILE i <= 11 DO
INSERT INTO t_virtual_prize_details (
id_1,vi

id_2
)
VALUES
(
v_1,

v_2
) ;
SET i = i + 1 ;
END
WHILE ; end$$

CALL pre () ; DROP PROCEDURE IF EXISTS pre ;

相關文章
相關標籤/搜索