B
B
beduin012016-03-30 12:21:09
PostgreSQL
beduin01, 2016-03-30 12:21:09

What's wrong with Postgresql trigger?

I'm trying to create a very simple trigger:

CREATE TRIGGER example_trigger AFTER INSERT ON USERS
FOR EACH ROW EXECUTE PROCEDURE insertGUID();

This is what my table is called. I also created a trigger function (insertGUID()).
I get:
`syntax error (approximate position: "ON"`.
UPD: So. It seems to work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
krypt3r, 2016-03-30
@krypt3r

... ON "USERS"...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question