Sql Server 2008 复制同义词?
我计划通过创建旧名称的同义词并将表重命名为我想要的名称来更新一些表名称。 复制可以正确引用同义词吗?
另外一个问题是,是否有一种简单的方法可以查看特定表是否确实被复制? (也许通过查询)
I plan on updating some table names by create a synonym of the old name and renaming the table to what I want it to be. Can replication properly reference a synonym?
Also as a side question, is there an easy way to see if a specific table is actually being replicated? (via a query perhaps)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不这么认为。 复制通过读取日志进行工作,并且不会为同义词生成日志记录。 至于您关于找出复制哪些表的问题,对表中的 sysarticles 的查询应该可以让您到达您想要的位置。 HTH。
I don't think so. Replication works by reading the log and there are no log records generated for a synonym. As to your question about finding out which tables are replicated, a query on sysarticles in the table should get you where you want to go. HTH.