From: | Edwin Quijada <listas_quijada(at)hotmail(dot)com> |
---|---|
To: | <yude(at)cav(dot)desoft(dot)cu>, <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | RE: RV: enviar a pgsql-es-ayuda@postgresql.org |
Date: | 2009-10-30 16:55:33 |
Message-ID: | BLU137-W20EF005DEEA3F40667493DE3B60@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Supongo que hablas espanol si estas en Cuba sino esta es una lista en espanol
Busca por el bloque de EXCEPTION ...WHEN
*-------------------------------------------------------*
*-Edwin Quijada
*-Developer DataBase
*-JQ Microsistemas
*-Soporte PostgreSQL
*-www.jqmicrosistemas.com
*-809-849-8087
*-------------------------------------------------------*
From: yude(at)cav(dot)desoft(dot)cu
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: [pgsql-es-ayuda] RV: enviar a pgsql-es-ayuda(at)postgresql(dot)org
Date: Thu, 29 Oct 2009 17:02:54 -0500
Hello,
I have a problem. I have an script that makes several operations in the database, but I want to know how can I validate errors. For example in sql server I do if @@error_count = 0 …, Can Anybody tell me how validate it in postgres like this:?
If error occurred then rollback transaction.
Regards.
Ing. Esneiker Enriquez Cabrera.
Excelencia en Software.
Desoft S.A. en Ciego de Ávila.
Joaquín de Agüero Esq. Calle 2. Ciego de Ávila. Cuba.
email:eenriquez(at)cav(dot)desoft(dot)cu
_________________________________________________________________
From | Date | Subject | |
---|---|---|---|
Next Message | Edwin Quijada | 2009-10-30 17:24:12 | RE: Log de Postgres a una BD |
Previous Message | Mariano Reingart | 2009-10-30 15:44:14 | Re: [pgsql-es-ayuda] Re: [pgsql-es-ayuda] Tutorial en Español |