Well I am trying to create a trigger, but it seems that using PGMyadmin's SQL command prompt wont work, it shows syntax error all the time:
Anyone knows how to fix this problem? I have absolutely no idea why this syntax error appears:PHP Code:
CREATE TRIGGER trigger_name BEFORE INSERT ON table_name
FOR EACH ROW
// Code inside
ERROR: syntax error at or near "BEGIN"
LINE 3: BEGIN