Export query result to text file?

Поиск
Список
Период
Сортировка
От Patrick Hatcher
Тема Export query result to text file?
Дата
Msg-id OF5CD0CF5C.7A0CB10B-ON88256B89.007BBD0F@fds.com
обсуждение исходный текст
Список pgsql-novice
Howdy,
I'm trying to use a query to export some data.  My file is created, but no
data is available.  If I run the query without exporting, it works fine.
Select * from table1 limit 100 \o /home/phatcher/test.txt;

must I always route the file first and then do my query?
Thanks

Patrick Hatcher
Macys.Com
Legacy Integration Developer
415-932-0610 office
HatcherPT - AIM




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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Synchronizing databases
Следующее
От: denis@coralindia.com
Дата:
Сообщение: Re: Export query result to text file?