复制一份表的数据到另外一个表
SqlServer的用法
新表存在的话这样用:insert into a select * from b
新表不存在的话这样用:select * into a from b
Oracle的用法
新表存在的话这样用:insert into a select * from b
新表不存在的话这样用:create table a as select * from b
删除某一行
delete from a where id=2;
复制一份表的数据到另外一个表
SqlServer的用法
新表存在的话这样用:insert into a select * from b
新表不存在的话这样用:select * into a from b
Oracle的用法
新表存在的话这样用:insert into a select * from b
新表不存在的话这样用:create table a as select * from b
删除某一行
delete from a where id=2;