Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres copy table from one schema to another

create table schema2.the_table (like schema1.the_table including all);
insert into schema2.the_table
select * 
from schema1.the_table;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #postgres #copy #table #schema
ADD COMMENT
Topic
Name
5+3 =