注意:复制表不能复制表的约束
create table Test_1106 as select * from Test (复制表的结构和表的数据)
create table Test_1106 as select * fromTest where 1=2; (只复制表的结构,不复制表的数据)
注意:复制表不能复制表的约束
create table Test_1106 as select * from Test (复制表的结构和表的数据)
create table Test_1106 as select * fromTest where 1=2; (只复制表的结构,不复制表的数据)