Hi all,
I tried:
select id, name into table2 from table1;
\copy table2 to filename.txt
in order to export 2 columns from table1 to a file.
But, I am thinking, if there is a command can combine these two command together?
Maybe, something like: \copy select id,name from table to filename.txt
?
Nina
- [GENERAL] \copy combine with SELECT jia ding
- Re: [GENERAL] \copy combine with SELECT Chris
- Re: [GENERAL] \copy combine with SELECT jia ding
- Re: [GENERAL] \copy combine with SELEC... Chris
- Re: [GENERAL] \copy combine with S... Martijn van Oosterhout
- Re: [GENERAL] \copy combine w... jia ding
- Re: [GENERAL] \copy combine with SELECT Qingqing Zhou