関数current_query()を使用します
トリガー機能で。
insert into control_table(query_text)
select current_query();
トリガーはfor each statementである必要があります 。
関数current_query()を使用します
トリガー機能で。
insert into control_table(query_text)
select current_query();
トリガーはfor each statementである必要があります 。