I am developing a new trigger and I would like to print Old and New
values of few columns. I know I can create new table and insert Old
and New values, but I would like to have simpler solution for this.
In Oracle,
DBMS_OUTPUT.PUT _LINE('Old Total wages = ' || TO_CHAR(O.total _wages));
DBMS_OUTPUT.PUT _LINE('New Total wages = ' || TO_CHAR(N.total _wages));
would print Old and New values. How to do it in DB2?
Thanks.
values of few columns. I know I can create new table and insert Old
and New values, but I would like to have simpler solution for this.
In Oracle,
DBMS_OUTPUT.PUT _LINE('Old Total wages = ' || TO_CHAR(O.total _wages));
DBMS_OUTPUT.PUT _LINE('New Total wages = ' || TO_CHAR(N.total _wages));
would print Old and New values. How to do it in DB2?
Thanks.
Comment