From: Martijn van Oosterhout <kleptog@svana.org>
To: Henrique P Machado <zehrique@gmail.com>
Cc: Guy Rouillier <guyr-ml1@burntmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: NEED URGENT HELP....
Date: Tue, 26 Dec 2006 12:53:48 +0100
Message-ID: <20061226115348.GB8412@svana.org> (raw)
In-Reply-To: <ef1265e0612251552v49d9179br98bc25799a24ad24@mail.gmail.com>
References: <20061221074133.5B05A872DC@cal1-1.us4.outblaze.com>
<4590629B.9070808@burntmail.com>
<ef1265e0612251552v49d9179br98bc25799a24ad24@mail.gmail.com>
On Mon, Dec 25, 2006 at 08:52:52PM -0300, Henrique P Machado wrote:
> WHERE (USER_ID = $1) AND (COMPANY_ID = $2) AND BOOK_NO IN ($3)
>
> Could'nt he use an array in this 3rd parameter?
I think so, if it's written:
AND BOOK_NO = ANY($3)
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/> From each according to his ability. To each according to his ability to litigate.
Attachments:
signature.asc (application/pgp-signature, 188B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: kleptog@svana.org, zehrique@gmail.com, guyr-ml1@burntmail.com, pgsql-general@postgresql.org
Subject: Re: NEED URGENT HELP....
In-Reply-To: <20061226115348.GB8412@svana.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox