Eric writes:
> I can realize this function in the SYBase,but How can i do it in the PostgreSQL?
>
> /****SQL***/
> if not exists(select id from test) insert into test(id) values (280);
> /*********/
Write a function in PL/pgSQL.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter