sql - Postgresql insert trigger does not work -
New row in table A has been added and should trigger me that row in row automatically insert row in row Will do Please help and advise, why is the SQL compiler return and error QUERY: Block blocked (blocked.id, blocked.number, blocked .date) value ($ 1, $ 2, now ()) returns $ 3 Insert Texture () Trigger the return as $ body $ IN blocks in $ B (blocked.id, blocked.number, blocked.date) VALUES (new. Id, new.prefix, now ()) returns new; End $ entity $ language called 'plpgsql' NLL input security invoice called; To create the trigger, insert RAW executables for public.table; insertblocked ();
< P> You have lost a semi-column
at the end of your insert statement; .
Comments
Post a Comment