PostgreSQL SQL

From annawiki
Revision as of 2023-04-04T19:11:25 by Tobiasco (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Copy table, but not an exact copy, some settings changed and e.g. indexes not copied

CREATE TABLE new_tab_name AS TABLE existing_tab_name