> >
> > CREATE TRIGGER OnCreateUser
> > AFTER INSERT
> > ON users FOR EACH ROW
> > EXECUTE PROCEDURE CreateUserTrig();
> >
> Have you thought of using BEFORE INSERT instead of AFTER INSERT?
Well, no, but I want to do it only after the insert because I will use the
primary key to insert it in an other table, so I have to be sure that it has
been inserted.
Could you explain to me why it doesn't work ?
--
GRIGNON Etienne
Epitech Promo 2005
egrignon@xxxxxxxxxxxx
http://www.egrignon.com
http://www.hans-zimmer.com
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
message can get through to the mailing list cleanly
|