Answers for "postgres copy table contents"

SQL
1

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;
Posted by: Guest on June-15-2020
1

copy table postgres

CREATE TABLE new_table AS 
TABLE existing_table;
Posted by: Guest on April-08-2020

Code answers related to "postgres copy table contents"

Code answers related to "SQL"

Browse Popular Code Answers by Language