Search Postgresql Archives

Re: simple select question

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

 



On mán, 2007-06-04 at 12:12 +0300, Erol KAHRAMAN wrote:
> hi guys,
> 
> i am newbie in postgresql.  I need some help; i am trying to write
> like this:
> 
> select * from TABLE where IN ('value1','valeue2',....)

... WHERE what IN (...) ?

> but is it possible to give values from file.
> 
> select * from TABLE where IN file

not really. you'd have to import your file
into a table first, possibly with COPY.

gnari




[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