I want to save a copy of specific table with it's data. All I care is the structure and data. I don't want to copy the keys nor constrains.
I read this answer Copy table structure into new table but it's not quite what I need.
How it can be done?
I want to save a copy of specific table with it's data. All I care is the structure and data. I don't want to copy the keys nor constrains.
I read this answer Copy table structure into new table but it's not quite what I need.
How it can be done?
You are probably looking for CREATE TABLE AS SELECT, e.g.:
CREATE TABLE copy_table AS SELECT * FROM original_table;