Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 251 Bytes

export-dump-from-one-table-as-sql-inserts.md

File metadata and controls

12 lines (10 loc) · 251 Bytes
create table export_table as
select id, name, city
from nyummy.cimory
where city = 'tokio'
$ pg_dump --table=export_table --data-only --column-inserts my_database > data.sql

Source