Re: how do i import my sql query result to a file

Поиск
Список
Период
Сортировка
От Joseph Syjuco
Тема Re: how do i import my sql query result to a file
Дата
Msg-id 1027098943.1861.1.camel@Askr
обсуждение исходный текст
Ответ на Re: how do i import my sql query result to a file  (Ludwig Lim <lud_nowhere_man@yahoo.com>)
Список pgsql-sql
thanks for the tips !!! actually i used \g  <filename>.  Again thanks
On Thu, 2002-07-18 at 20:34, Ludwig Lim wrote:
> 
> --- 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
> 
> ---------------------------(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




В списке pgsql-sql по дате отправления:

Предыдущее
От: Ludwig Lim
Дата:
Сообщение: Re: how do i import my sql query result to a file
Следующее
От: stefan@extum.com
Дата:
Сообщение: id and ID in CREATE TABLE