Re: [GENERAL] SQL return value...

2005-10-20 Thread Richard Huxton
Cristian Prieto wrote: This is maybe a really newbie question, but, when I have an SQL function like that: $$ Insert into mytable (id, name) values ($1, $2); $$ What return value suppose to return? Either return "void" or return "boolean" and add a "SELECT true;" statement to the end of your

[GENERAL] SQL return value...

2005-10-19 Thread Cristian Prieto
This is maybe a really newbie question, but, when I have an SQL function like that:   $$ Insert into mytable (id, name) values ($1, $2); $$   What return value suppose to return?