1.表创建问题
if object_id('test') is not null 
drop table test
else create table test (id int)
注: 如果当前数据库不是创建表的目标数据库,则在object_id中需要添入全表名  db.owner.tablename,create语句也要写全表名
2.对于复制是非常复杂的问题.简单的说就是多个sql中间保留数据同步的一种方法,分合并复制,事务复制,快照复制.