SG Edwards wrote:
> Hi,
>
> Quick question for 10 points!
>
> Is there a way to write the output of a select query to a file (I'm on a linux
> platform)?
>
> For example:
>
> SELECT name, age, address from employee;
>
> gives the result that I want to write to a text file:
From what interface? You can do this from psql:
echo 'select foo from bar;' | psql database > select.out
--
Until later, Geoffrey