{"id":2215,"date":"2012-06-22T06:53:10","date_gmt":"2012-06-22T06:53:10","guid":{"rendered":"http:\/\/enjoyasp.net\/?p=2215"},"modified":"2012-08-21T05:38:33","modified_gmt":"2012-08-21T05:38:33","slug":"%e5%90%88%e5%b9%b6%e5%a4%8d%e5%88%b6sch-m%e4%b8%8esch-s%e5%86%b2%e7%aa%81%e4%b8%a5%e9%87%8d","status":"publish","type":"post","link":"https:\/\/enjoyasp.net\/index.php\/2012\/06\/22\/%e5%90%88%e5%b9%b6%e5%a4%8d%e5%88%b6sch-m%e4%b8%8esch-s%e5%86%b2%e7%aa%81%e4%b8%a5%e9%87%8d\/","title":{"rendered":"\u5408\u5e76\u590d\u5236sch-m\u4e0esch-s\u51b2\u7a81\u4e25\u91cd"},"content":{"rendered":"<p>\u5728\u5408\u5e76\u590d\u5236\u4e2d\uff0csqlserver\u4f1a\u4e0d\u65ad\u7684\u540c\u6b65\u67b6\u6784\uff0c\u52a0\u4e0asch-m\u9501\uff0c\u5373\u4f7f\u67b6\u6784\u6ca1\u6709\u66f4\u6539\uff0c\u8fd9\u5c31\u4e1a\u52a1\u7cfb\u7edf\u67e5\u8be2\u6240\u7528\u7684sch-s\u51b2\u7a81\u3002\u4e3a\u89e3\u51b3\u6b64\u95ee\u9898\uff0c\u53ef\u6682\u505c\u67b6\u6784\u7684\u540c\u6b65\uff0c\u4e0d\u8fc7\u5f15\u8d77\u53e6\u4e00\u95ee\u9898\u65f6\uff0c\u66f4\u65b0\u7684\u5b58\u50a8\u8fc7\u7a0b\u7b49\u4e0d\u4f1a\u81ea\u52a8\u5206\u53d1\u4e0b\u53bb\u4e86\uff0c\u53d8\u901a\u4e4b\u9053\uff0c\u5728\u540c\u6b65\u4e4b\u524d\uff0c\u5f00\u542f\u67b6\u6784\u590d\u5236\u540c\u6b65\uff0c\u540c\u6b65\u5b8c\u6210\u540e\uff0c\u5173\u95ed\u3002<\/p>\n<p>&#8212;-\u5f00\u542f\u67b6\u6784\u540c\u6b65<br \/>\nEXEC sp_changemergepublication&nbsp;&nbsp; @publication = &#39;BRM-NewCOPY&#39;,&nbsp;&nbsp; @property = N&#39;replicate_ddl&#39;, @value = 1;<br \/>\nGO<\/p>\n<p>&#8212;-\u66f4\u65b0\u5b58\u50a8\u8fc7\u7a0b&#8230;<\/p>\n<p>&#8212;-\u5173\u95ed\u67b6\u6784\u540c\u6b65<br \/>\nEXEC sp_changemergepublication&nbsp;&nbsp; @publication = &#39;BRM-NewCOPY&#39;,&nbsp;&nbsp; @property = N&#39;replicate_ddl&#39;, @value = 0;<br \/>\nGO<\/p>\n<p>\u53c2\u8003\uff1ahttp:\/\/msdn.microsoft.com\/en-us\/library\/ms152562%28v=sql.90%29.aspx<\/p>\n<p>\n\tBy default, the following schema changes made at a Publisher running SQL Server 2005 are replicated to all SQL Server Subscribers:<\/p>\n<ul>\n<li>\n\t\tALTER TABLE<\/li>\n<li>\n\t\tALTER VIEW<\/li>\n<li>\n\t\tALTER PROCEDURE<\/li>\n<li>\n\t\tALTER FUNCTION<\/li>\n<li>\n\t\tALTER TRIGGER<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5408\u5e76\u590d\u5236\u4e2d\uff0csqlserver\u4f1a\u4e0d\u65ad\u7684\u540c\u6b65\u67b6\u6784\uff0c\u52a0\u4e0asch-m\u9501\uff0c\u5373\u4f7f\u67b6\u6784\u6ca1\u6709\u66f4\u6539\uff0c\u8fd9\u5c31\u4e1a\u52a1\u7cfb\u7edf\u67e5\u8be2\u6240\u7528\u7684s [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2215","post","type-post","status-publish","format-standard","hentry","category-sql-server"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/comments?post=2215"}],"version-history":[{"count":0,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2215\/revisions"}],"wp:attachment":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/media?parent=2215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/categories?post=2215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/tags?post=2215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}