My Ideas ,Linux related Links, etc..
Tuesday, January 15, 2013
Outputting to CSV from Postgresql
If I am going to do it in shell, I will do it like this:
psql -U user db -A -F ',' -c "select 1+1 as A,2+2 as B;"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment