Re: [GENERAL] Parsing error

2001-07-11 Thread Thalis A. Kalfigopoulos
> ze_database=> CREATE TABLE my_table ( > ze_database(> p1 integer, > ze_database(> p2 integer, > ze_database(> p3 integer, > ze_database(> p4 integer); > CREATE > ze_database=> CREATE FUNCTION my_add(integer,integer,integer,integer) > ze_database-> RETURNS integer > ze_database-> AS 'INSERT INTO

[GENERAL] Parsing error

2001-07-10 Thread Nicolas Drapeau
Hi every one I have a big problem, I think it's a syntaxical one, but can't solve it, please help ! What I am trying to do is a simple function who updates data in a table and if no row was updated, then add a new one with the specified parameters. And i would like to do it using SQL and anyth