On Monday 31 August 2009 4:10:48 am bilal ghayyad wrote: > Just writing a Function in the PostgreSQL it self (so it is sql scripting). > It is not from any development language. > > Regards > Bilal > If you move to pl/pgsql you could use GET DIAGNOSTICS: (http://www.postgresql.org/docs/8.4/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS) It has ROW_COUNT. -- Adrian Klaver aklaver@xxxxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general