1. 同步的话, 用企业管理器来查看比较方便, 想知道具体脚本的话, 用企业管理查看前先打开事件探查器来跟踪具体SQL 2. 表结构的话, 也可以且企业管理器生成所有对象的脚本-- 所有表名 select name from sysobjecs where type = 'U' -- 所有存储过程名 select name from sysobjecs where type = 'P' -- 所有列名 select name from syscolumns where type = 'U'-- ...
在企业管理器里也可以看到一些复制的信息;
2. 表结构的话, 也可以且企业管理器生成所有对象的脚本-- 所有表名
select name from sysobjecs where type = 'U'
-- 所有存储过程名
select name from sysobjecs where type = 'P'
-- 所有列名
select name from syscolumns where type = 'U'-- ...