Delete function

From: Secrétariat <ets(at)rolland-fr(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Delete function
Date: 2004-12-06 12:57:16
Message-ID: 00b501c4db93$1dbbf830$0a00a8c0@lrp43008
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello !

I create a delete function :
CREATE FUNCTION delalpha(varchar, integer) RETURNS boolean
AS 'DELETE FROM public.params WHERE soc = $1 AND numpar = $2 ;
SELECT TRUE ;'
LANGUAGE sql ;
Is there a way to return the number of deleted row ?
Thanks.

Luc

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kris Jurka 2004-12-06 12:57:31 Re: SSL confirmation - No trusted certificate found
Previous Message Andrew M 2004-12-06 12:50:29 Re: SSL confirmation - No trusted certificate found