如题所述
å设åæ¥ç表åå«tabale1
æ°è¡¨åå«table2
create table table2 as select * from table1
ç¶å
truncate table table2
æ°è¡¨åå«table2
create table table2 as select * from table1
ç¶å
truncate table table2
温馨提示:答案为网友推荐,仅供参考
第1个回答 2008-03-06
直接用导入数据...可以把所有的信息都导过来.如果你不想要数据.到时候再删了就是
第2个回答 2008-03-06
假设源表为TS 新建的表为DS
select * into DS from TS where 1=0
select * into DS from TS where 1=0
第3个回答 2008-03-06
顶透明砂
select * into DS from TS where 1=0
另外:1=0时,表明只复制表结构
1=1时,复制带有数据表
1=0用的很好
select * into DS from TS where 1=0
另外:1=0时,表明只复制表结构
1=1时,复制带有数据表
1=0用的很好
第4个回答 2008-03-07
select * into table2 from table1
table1 是老表
table2 是新表
table1 是老表
table2 是新表
第5个回答 2008-03-06
up