I need to make a provisionary table (TAB_PROV
). This table will have its origin in a main table (TAB_MAIN
). I need everything from the main table, except the data (rows).
I searched for some examples and none of them worked for me
CREATE TABLE TAB_PROV LIKE TAB_MAIN
CREATE TABLE TAB_PROV AS TAB_MAIN