📜  oracle sql 复制没有数据的表 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:16.179000             🧑  作者: Mango

代码示例1
-- Copy datas and structure:
CREATE TABLE new_table AS SELECT * FROM my_table;
-- Copy structure only:
CREATE TABLE new_table AS SELECT * FROM my_table WHERE 1=0;