Select dump

From: SG Edwards <s0460205(at)sms(dot)ed(dot)ac(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: Select dump
Date: 2005-05-11 13:15:10
Message-ID: 1115817310.4282055ee1316@sms.ed.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


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:

John, 21, Edinburgh

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas Kretschmer 2005-05-11 13:34:32 Re: [despammed] Select dump
Previous Message Prasad dev 2005-05-11 02:44:34 Trigger