Marcus_A,
Thank you for reply.
That's what thought. So, the "create trigger" statement should end at the following line:
Code:
SET NEW_ROW.my_column= current timestamp;--
Then, "END;" will be treated as another statement. You can not use the same delimiter for both triggered SQL (body) and the "create trigger" SQL. If you do, DB2 would parse till the first delimiter, and anything after each delimiter would be treated as another statement if it does not start with "--". That would cause syntax error. But in my case, it does NOT cause any error.