Search Postgresql Archives

Re: Converting string to IN query

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

 



Andrus escreveu:
<snip>
SELECT * FROM invoices WHERE invoiceno IN ( '1,3,4' );

but this causes error.
<snip>

change it to ( '1','3','4' ) or ( 1,3,4 )

--

ACV



[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