Skip site navigation (1) Skip section navigation (2)

RE: RV: enviar a

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
Date: 2009-10-30 16:55:33
Message-ID: BLU137-W20EF005DEEA3F40667493DE3B60@phx.gbl (view raw or whole 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


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

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.

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.

In response to

pgsql-es-ayuda by date

Next:From: Edwin QuijadaDate: 2009-10-30 17:24:12
Subject: RE: Log de Postgres a una BD
Previous:From: Mariano ReingartDate: 2009-10-30 15:44:14
Subject: Re: [pgsql-es-ayuda] Re: [pgsql-es-ayuda] Tutorial e?==?ISO-8859-1?Q?n Español

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group