Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

NewTable (トリガ・キーワード)

イベントの影響を受ける行または文の新しい値が格納される移行テーブルの名前を指定します。

使用法

新しい値を格納する移行テーブルの名前を指定するには、以下の構文を使用します。

Trigger name [ Event = sqlevent, OldTable = oldtable, NewTable = newtable ] {    //implementation }

newtable は、このネームスペース内の SQL テーブルの名前です。

詳細

各トリガは、(OldTable キーワードと NewTable キーワードで指定される) 移行テーブルを使用して、イベントの影響を受ける行または文の古い値と新しい値にアクセスします。

既定値

NewTable キーワードの既定値は、NULL です。

関連項目

FeedbackOpens in a new tab