Return num of deleted rows from function

From: "Ben-Nes Michael" <miki(at)canaan(dot)co(dot)il>
To: "postgres" <pgsql-general(at)postgresql(dot)org>
Subject: Return num of deleted rows from function
Date: 2002-08-06 09:47:26
Message-ID: 00fb01c23d2e$48056be0$aa0f5ac2@canaan.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All

How can I RETURN from within a function the number of deleted rows ?

like select into var delete from bla bla .... <- can work, or something
similar ?

Thanks in Advance

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nuno Barros 2002-08-06 10:36:09 View the contents of a database
Previous Message Joerg Hessdoerfer 2002-08-06 07:33:58 Table design question...