复制一个表到另一个表.视图.临时表 博客分类: oracle Oracle数据结构软件测试SQL 创建一个表new_table和old_table表结构一样(没有old_table的记录) create table new_table as select * from old_table where 1=0; 创建一个表new_table和old_table表结构一样(有old_table的记录) create table new_table as select * from old_tabl…
--复制结构+数据 select * into 数据库名.dbo.新表名 from 数据库名.dbo.原表名 select * into Stockholder.dbo.SHInfo from dspring.dbo.HIREMEN --只复制结构 = 后面的条件只要不成立就OK了 Learn From: http://www.cnblogs.com/New-world/archive/2012/05/22/2512985.html…