Re: WHEN NO_DATA_FOUND THEN....

From: Mladen Gogala <mgogala(at)vmsinfo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: WHEN NO_DATA_FOUND THEN....
Date: 2010-10-05 19:50:07
Message-ID: 4CAB816F.5070308@vmsinfo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Tom Lane wrote:
> Mladen Gogala <mgogala(at)vmsinfo(dot)com> writes:
>
>> Is there any way for Postgres to raise an exception when no data is
>> found?
>>
>
> See the SELECT ... INTO STRICT option.
>
> (If you haven't got it, it's time for an update.)
>
> regards, tom lane
>
Thanks, Tom! I have "STRICT", the database is 9.0. Your help is
priceless, as usual.

--

Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
http://www.vmsinfo.com
The Leader in Integrated Media Intelligence Solutions

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Helgi Örn 2010-10-06 08:58:03 Alternative to AS?
Previous Message Tom Lane 2010-10-05 17:40:53 Re: WHEN NO_DATA_FOUND THEN....