🏫 TECH/📚 DB How to export tables to csv with postgresql psql 728x90 1. Access psql $psql -U postgres user Explanation) Accessing a database called user with a postgres account 2. Enter the copy command for csv extraction $COPY (SELECT* FROM test) TO 'D:\test.csv' With CSV DELIMITER ','; Explanation) Store the data in the table called test on the D drive in CSV format Have a good day! 반응형 공유하기 URL 복사카카오톡 공유페이스북 공유엑스 공유 게시글 관리 구독하기팀드모네 IT Blog 저작자표시 비영리 변경금지 '🏫 TECH > 📚 DB' 카테고리의 다른 글 Utility file not found. Please correct the Binary Path in the Preferences dialog 해결 방법 (0) 2023.01.15 [PostgreSQL] There has been an error Error running.. 해결 (0) 2023.01.11 [PostgreSql] SQL에서 변수를 사용하는 방법 (0) 2022.06.07 [pgAdmin] 쿼리 정렬 단축키 (SQL 정렬) (0) 2022.06.07 자주 사용되는 pgAdmin4 단축키 정리 (1) 2021.02.18 Contents 당신이 좋아할만한 콘텐츠 Utility file not found. Please correct the Binary Path in the Preferences dialog 해결 방법 2023.01.15 [PostgreSQL] There has been an error Error running.. 해결 2023.01.11 [PostgreSql] SQL에서 변수를 사용하는 방법 2022.06.07 [pgAdmin] 쿼리 정렬 단축키 (SQL 정렬) 2022.06.07 댓글 0 + 이전 댓글 더보기