Received: from kitana.asti.dost.gov.ph (kitana.asti.dost.gov.ph [202.90.128.8]) by postgresql.org (Postfix) with ESMTP id 24AF447511A for ; Fri, 19 Jul 2002 01:07:50 -0400 (EDT) Received: from Askr (askr.asti.dost.gov.ph [10.10.5.36]) by kitana.asti.dost.gov.ph (Postfix) with ESMTP id 853DA2584C; Fri, 19 Jul 2002 13:07:21 +0800 (PHT) Subject: Re: how do i import my sql query result to a file From: Joseph Syjuco To: Ludwig Lim Cc: PosgreSQL Mailing List In-Reply-To: <20020719003442.36140.qmail@web40009.mail.yahoo.com> References: <20020719003442.36140.qmail@web40009.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2-5mdk Date: 19 Jul 2002 13:15:42 -0400 Message-Id: <1027098943.1861.1.camel@Askr> Mime-Version: 1.0 X-Archive-Number: 200207/286 X-Sequence-Number: 8664 thanks for the tips !!! actually i used \g . Again thanks On Thu, 2002-07-18 at 20:34, Ludwig Lim wrote: > > --- Joseph Syjuco wrote: > > how do i import results of my select query to a file > > thanks > > > > in the psql command prompt type > \o > > and then type your select query. > The result will be dumped into > > ludwig. > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly