ISE-ComProg-After-Midterm/waxds-copper/function_upd_dt.sql

7 lines
138 B
MySQL
Raw Permalink Normal View History

2020-10-29 09:38:56 +00:00
create or replace function upd_dt()
returns trigger as '
begin
NEW.updatedate := current_timestamp;
RETURN NEW;
end;
' LANGUAGE plpgsql;