Search Postgresql Archives

Re:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/9/06, Matthew Peter <survivedsushi@xxxxxxxxx> wrote:
> is using IN to query a list of values in an function supported? or is there
> a work around for this type of query?
>
> e.g.
> ...
> SELECT * FROM tbl WHERE u_id IN (0$1)
>
> $$ LANGUAGE SQL;
>

if you mean
SELECT * FROM tbl WHERE u_id IN (0, 1)

then yes

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux