USINGステートメント修正

This commit is contained in:
Nik Afiq 2023-10-23 09:05:20 +09:00
parent e21f0d48fa
commit eef88cd7cd

View File

@ -97,8 +97,8 @@ TableCursorLoop: LOOP
SET @temp_table_id = temp_table_id;
-- UPSERT実行
PREPARE stmt FROM @upsert_statement USING @distribution_schema, @temp_table_id;
EXECUTE stmt;
PREPARE stmt FROM @upsert_statement;
EXECUTE stmt USING @distribution_schema, @temp_table_id;
DEALLOCATE PREPARE stmt;
END LOOP;