Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows 7 で DB2 9.7 エンタープライズ エディションを使用しています。トリガーを作成しましたが、トリガー内からどの列が更新されたかを知る必要があります。MS SQL 2008 には、「COLUMNS_UPDATED()」と呼ばれる関数があり、まさにそれを提供します。ただし、多くの検索を行った後、DB2 の同等の関数を見つけることができません。何か案は?ありがとう。
DB2 には、このような同等の機能はありません。トリガー内の OLD 値と NEW 値を比較します。