如何使用变量在存储过程中完成插入

时间:2016-08-11 13:54:20

标签: mysql variables stored-procedures

CREATE DEFINER=`blah`@`%` PROCEDURE `INSTERTTHESE`(IN issuerNUM INT(20))
BEGIN
INSERT INTO `DB`.`TABLE` (`id`,`minValue`)
VALUES  (issuerNUM,'700000'issuerNUM'0000000');

1 个答案:

答案 0 :(得分:0)

CONCAT(' 700000',issuerNUM,' 0000000&#39)