{"id":67584,"date":"2016-04-14T14:58:51","date_gmt":"2016-04-14T06:58:51","guid":{"rendered":"http:\/\/www.xiaoyebailong.com\/?p=67584"},"modified":"2016-04-14T15:00:39","modified_gmt":"2016-04-14T07:00:39","slug":"sqlserver-2008-%e5%a6%82%e4%bd%95%e4%bf%ae%e6%94%b9%e9%bb%98%e8%ae%a4-%e7%ab%af%e5%8f%a3%e5%8f%b7","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2016\/04\/14\/67584.htm","title":{"rendered":"SqlServer 2008 \u5982\u4f55\u4fee\u6539\u9ed8\u8ba4 \u7aef\u53e3\u53f7"},"content":{"rendered":"<h2>\u901a\u8fc7\u5b58\u50a8\u8fc7\u7a0b\u67e5\u770b<\/h2>\n<p>\u6211\u4eec\u9996\u5148\u6253\u5f00sqlserver\u8fde\u63a5sqlserver2008\u7684\u6570\u636e\u5e93\u5b9e\u4f8b\uff0c\u7136\u540e\u6267\u884c\u5982\u4e0b\u5b58\u50a8\u8fc7\u7a0b\uff1a<\/p>\n<div class=\"cnblogs_code\">\n<pre>--\u67e5\u8be2\u7aef\u53e3\u53f7\r\nexec sys.sp_readerrorlog 0, 1, 'listening'<\/pre>\n<\/div>\n<p>\u67e5\u8be2\u51fa\u6765\u7684\u7ed3\u679c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/pic002.cnblogs.com\/images\/2012\/80896\/2012062315363124.png\" alt=\"\" \/><\/p>\n<p>\u4ece\u4e0a\u56fe\u6211\u4eec\u53ef\u4ee5\u770b\u51fasqlserver2008\u7684\u7aef\u53e3\u53f7\u662f5419\u3002<\/p>\n<p><strong>\u8fd9\u8fb9\u4e5f\u8bb8\u6709\u4e9b\u4eba\u67e5\u8be2\u4e4b\u540e\uff0c\u663e\u793a0\u884c\uff0c\u65e0\u6570\u636e\uff0c\u6ca1\u5173\u7cfb\uff0c\u522b\u7740\u6025\uff0c\u6211\u4eec\u7ee7\u7eed\u5f80\u4e0b\u770b\u3002<\/strong><\/p>\n<h2>\u901a\u8fc7Sql Server\u914d\u7f6e\u7ba1\u7406\u5668(SSCM)<\/h2>\n<p>\u9996\u5148\u6253\u5f00SSCM\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/pic002.cnblogs.com\/images\/2012\/80896\/2012062315493696.png\" alt=\"\" \/><\/p>\n<p>\u7136\u540e\u518dsqlserver\u7f51\u7edc\u914d\u7f6e\u4e2d\u5f00\u542fTCP\/IP\u534f\u8bae\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/pic002.cnblogs.com\/images\/2012\/80896\/2012062315504365.png\" alt=\"\" \/><\/p>\n<p>\u5728\u8fd9\u91cc\u6211\u4eec\u8981\u5c06SQLEXPRESS\u548cSQL2012\u4e24\u4e2a\u534f\u8bae\u4e2d\u7684TCP\/IP\u534f\u8bae\u90fd\u5f00\u542f\u3002<\/p>\n<p>\u7136\u540e\u67e5\u770bTCP\/IP\u534f\u8bae\u7684\u5c5e\u6027\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/pic002.cnblogs.com\/images\/2012\/80896\/2012062315531342.png\" alt=\"\" \/><\/p>\n<p>\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u6211\u4eec\u5728IPALL\u4e2d\u770b\u5230\u4e86\u201cTCP\u52a8\u6001\u7aef\u53e3\u201d\u7684\u503c\u4e3a5419\uff0c\u8fd9\u5c31\u662f\u6211\u4eecsqlserver2008\u7684\u7aef\u53e3\u53f7\u3002\u6211\u4eec\u6253\u5f00sql2012\u7684\u534f\u8bae\u67e5\u770b\uff0c\u53d1\u73b0IPALL\u5c5e\u6027\u5982\u4e0b\uff1a<\/p>\n<p>\u8fd9\u91cc\u4e5f\u8bb8\u6709\u4e9b\u4eba\uff0c\u663e\u793a\u7aef\u53e3\u53f7\u90fd\u662f\u7a7a\u7684\uff0c\u8fd9\u91cc\u4e5f\u5c31\u662f\u5bfc\u81f4\u4e3a\u4ec0\u4e48\u6211\u4eec\u7684\u7b2c\u4e00\u6b65\u67e5\u8be2\uff0c\u67e5\u8be2\u4e0d\u5230\u6570\u636e\uff0c\u8fd9\u91cc\u6211\u4eec\u53ef\u4ee5\u624b\u52a8\u8bbe\u7f6e\u4e00\u4e0bTCP\u52a8\u6001\u7aef\u53e3\uff0c\u4e00\u822c\u4e3a4\u4f4d\u6570\uff0c\u6bd4\u59825419.\u7136\u540e\u4fdd\u5b58\uff0c\u91cd\u542fSQL\u670d\u52a1<\/p>\n<p>\u7136\u540e\u56de\u5230\u7b2c\u4e00\u6b65\uff0c\u7528SQL\u67e5\u8be2\uff0c\u8fd9\u91cc\u53ef\u4ee5\u51fa\u73b0\u4e24\u4e2a\u7aef\u53e3\uff0c\u5982\u679c\u9700\u8981\u8fdc\u7a0b\u8fde\u63a5\uff0c\u53ef\u4ee5\u5c06\u8fd9\u4e24\u4e2a\u7aef\u53e3\u90fd\u88ab\u9632\u706b\u5899\u5141\u8bb8<\/p>\n<p>\u7ecf\u7b14\u8005\u5b9e\u8df5\uff0c\u5728ipall\u4e2d\u5199\u5230tcp\u7aef\u53e3\u4e2d\u5373\u53ef\u6b65\u7528\u5199\u5230TCP\u52a8\u6001\u7aef\u53e3\u4e2d<\/p>\n<p>\u767e\u5ea6\u76f8\u5173\u6587\u7ae0<\/p>\n<p>http:\/\/jingyan.baidu.com\/article\/ed2a5d1f6801a809f7be1778.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7\u5b58\u50a8\u8fc7\u7a0b\u67e5\u770b \u6211\u4eec\u9996\u5148\u6253\u5f00sqlserver\u8fde\u63a5sqlserver2008\u7684\u6570\u636e\u5e93\u5b9e\u4f8b\uff0c\u7136\u540e\u6267\u884c\u5982\u4e0b\u5b58\u50a8\u8fc7\u7a0b\uff1a &#8211;\u67e5\u8be2\u7aef\u53e3\u53f7 exec sys.sp_readerrorlog 0, 1, &#8216;listening&#8217; \u67e5\u8be2\u51fa\u6765\u7684\u7ed3\u679c\u5982\u4e0b\u56fe\u6240&#8230;<\/p>\n","protected":false},"author":1,"featured_media":67586,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,7],"tags":[208,209],"topic":[],"class_list":["post-67584","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","category-server","tag-sqlserver-2008","tag-209"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=67584"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67584\/revisions"}],"predecessor-version":[{"id":67585,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67584\/revisions\/67585"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media\/67586"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=67584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=67584"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=67584"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=67584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}