Export postgresql query data to csv, using Postgresql’s built in COPY command

Monday, April 11, 2011

we can using Postgresql's built in

Copy (Select id, login, email, updated_at From "user") To '/tmp/test.csv' With CSV;

This entry was tagged PostgreSQL and tips

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top