From: Ludwig Lim <lud_nowhere_man@yahoo.com>
To: Joseph Syjuco <joseph@asti.dost.gov.ph>
Cc: PosgreSQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: how do i import my sql query result to a file
Date: Thu, 18 Jul 2002 17:34:42 -0700 (PDT)
Message-ID: <20020719003442.36140.qmail@web40009.mail.yahoo.com> (raw)
In-Reply-To: <1027028842.7770.0.camel@Askr>
--- Joseph Syjuco <joseph@asti.dost.gov.ph> wrote:
> how do i import results of my select query to a file
> thanks
>
in the psql command prompt type
\o <filename>
and then type your select query.
The result will be dumped into <filename>
ludwig.
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lud_nowhere_man@yahoo.com, joseph@asti.dost.gov.ph
Subject: Re: how do i import my sql query result to a file
In-Reply-To: <20020719003442.36140.qmail@web40009.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox