Re: Query execution based on a condition

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: JORGE MALDONADO <jorgemal1960(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query execution based on a condition
Date: 2012-12-29 19:46:39
Message-ID: 50DF489F.4030109@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 12/29/2012 11:05 AM, JORGE MALDONADO wrote:
> I have a query similar to the one shown below but, depending on the
> value of a field, only the first SELECT statement shoud execute and the
> other 3 should be ignored. Is there a way to achieve this situation?

Probably so, but is hard to be specific without more information. In a
particular the condition/field being tested and values being tested for.

> Respectfully,
> Jorge Maldonado

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Emi Lu 2013-01-07 19:44:53 Split a string to rows?
Previous Message msi77 2012-12-29 19:36:56 Re: Query execution based on a condition