Answers for "copy table from one database to another psql"

SQL
1

copy postgres table from one schema into another

create table schema2.the_table (like schema1.the_table including all);
insert into schema2.the_table
select * 
from schema1.the_table;
Posted by: Guest on June-15-2020

Code answers related to "copy table from one database to another psql"

Code answers related to "SQL"

Browse Popular Code Answers by Language