は、私はすべての朝立ち往生してきたと私は一種の魂が私を助けることができる、問題はここにあるかを把握するように見えることはできません。SQL複数の挿入手順
CREATE PROCEDURE value(
IN group1 CHAR(20),
IN ns1 CHAR(20),
IN title1 CHAR(20))
BEGIN
insert into translationmarker
(site, `group`, ns, title, `type`)
values
(`cms`, group1, ns1, title1, `value`)
insert into translation
(marker, locale, `value`)
select id, 'en', 'test'
from translationmarker
where `group` = group1 and ns = ns1 and title = title1
insert into translationjavascript
select id
from translationmarker
where `group` = group1 and ns = ns1 and title = title1
END
エラー:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insert into translation
(marker, locale, `value`)
selec' at line 10
ありがとうございます!
(少なくとも)セミコロンがありません。 –