{"id":9119,"date":"2014-06-07T05:35:00","date_gmt":"2014-06-06T21:35:00","guid":{"rendered":"http:\/\/blog.pmail.idv.tw\/?p=9119"},"modified":"2014-06-07T05:35:00","modified_gmt":"2014-06-06T21:35:00","slug":"sql-2012-%e7%b3%bb%e7%b5%b1%e8%b3%87%e6%96%99%e5%ba%ab","status":"publish","type":"post","link":"https:\/\/blog.pmail.idv.tw\/?p=9119","title":{"rendered":"SQL 2012 \u7cfb\u7d71\u8cc7\u6599\u5eab"},"content":{"rendered":"<p>\u8fd1\u671f\u5df2\u7d93\u958b\u59cb\u5728\u8a13\u7df4\u4e2d\u5fc3\u5b78\u7fd2SQL Server\uff0c\u8001\u5e2b\u6709\u63d0\u5230\u4e00\u4e9b\u6771\u897f\uff0c\u7d00\u9304\u4e00\u4e0b\uff0c\u56e0\u70ba\u672c\u8eab <\/p>\n<p>SQL \u662f\u521d\u5b78\u8005\uff0c\u53ea\u80fd\u6162\u6162\u4f86\u4e86~~~<\/p>\n<p><!--more--><\/p>\n<p>\u7cfb\u7d71\u8cc7\u6599\u5eab <\/p>\n<p>\u2022master <\/p>\n<p>\u7d00\u9304\u7684\u662f\u6709\u95dcSQL Server\u7684\u8cc7\u8a0a\uff0c\u5305\u62ec\u6240\u6709\u7684\u767b\u5165\u5e33\u6236\u3001\u7cfb\u7d71\u7684\u7d44\u614b\u3001\u5404\u8cc7\u6599\u7684\u521d\u59cb\u8cc7\u8a0a\u7b49\u5404\u985e\u91cd\u8981\u8cc7\u6599\uff0c\u57fa\u65bc\u7cfb\u7d71\u8cc7\u6599\u8868\u7684\u5b89\u5168\u6027\uff0c\u5fc5\u9808\u900f\u904e\u7cfb\u7d71\u6aa2\u8996\u8868(System View)\u4f86\u700f\u89bd\uff1b\u53e6\u5916master\u7cfb\u7d71\u8cc7\u6599\u5eab\u95dc\u4fc2\u91cd\u5927\uff0c\u9808\u5b9a\u6642\u5099\u4efd <\/p>\n<p>\u2022msdb <\/p>\n<p>\u5728msdb\u8cc7\u6599\u5eab\u88e1\u5b58\u5132\u8f03\u591a\u7684\u662fSQL Server Agent\u88e1\u7684\u5167\u5bb9\uff0c\u5982:\u6392\u7a0b\u4f5c\u696d\u3001\u8abf\u5ea6\u3001\u64cd\u4f5c\u54e1\u3001\u8b66\u544a\u7b49\u8cc7\u8a0a\uff0c\u540c\u6642\u9084\u5b58\u653eSQL Server Integration Service(SSIS)\u76f8\u95dc\u8cc7\u8a0a\u3002msdb\u8cc7\u6599\u5eab\u5167\u5bb9\u4e0d\u5b9c\u76f4\u63a5\u505a\u66f4\u52d5\u7684\uff0c\u4e0d\u904e\u53ef\u4ee5\u67e5\u95b1\u4f5c\u696d\u7684\u8cc7\u8a0a\uff0c\u4f8b\u5982\uff1a <\/p>\n<p>\u2022model <\/p>\n<p>\u201c\u6a23\u677f\u201d\u8cc7\u6599\u5eab\uff0c\u7576\u6211\u5011\u5728\u5efa\u7acb\u65b0\u7684\u8cc7\u6599\u5eab\u6642\uff0cSQL Server\u6703\u4ee5model\u8cc7\u6599\u5eab\u70ba\u85cd\u672c\uff0c\u5c07\u5176\u5167\u5bb9\u8907\u88fd\u5230\u65b0\u7684\u8cc7\u6599\u5eab\uff0c\u6709\u5167\u5bb9\u4e00\u6a23\u7684\u8cc7\u6599\u8868\u8207\u6aa2\u8996\u8868\uff0c\u6709\u9700\u8981\u53ef\u66f4\u52d5\u5176\u5167\u5bb9\u3002 <\/p>\n<p>\u2022tempdb <\/p>\n<p>\u7528\u4f86\u5b58\u653e\u66ab\u6642\u6027\u7684\u8cc7\u6599\uff0c\u4f7f\u7528\u8005\u5728\u9032\u884c\u67e5\u8a62\u3001\u6392\u5e8f\uff0c\u6703\u5efa\u7acb\u201d\u66ab\u6642\u6027\u201d\u7684\u5de5\u4f5c\u8cc7\u6599\u8868\uff0cSQL\u670d\u52d9\u91cd\u555f\uff0c\u91cd\u5efa\u4e00\u4efdtempdb\uff0c\u901a\u5e38\u4e0d\u9808\u5099\u4efd\u3002 <\/p>\n<p>\u2022Resource <\/p>\n<p>SSMS\u6839\u672c\u770b\u4e0d\u5230\u6b64\u8cc7\u6599\u5eab\uff0c\u8981\u7528\u201d\u6a94\u6848\u7e3d\u7ba1\u201d\u9032\u5165C:\\Program Files\\Microsoft SQL Server\\MSSQL11.MSSQLSERVER\\MSSQL\\Binn\\mssqlsystemresource.mdf\uff0c\u7528\u4f86\u5b58\u653eSQL Server\u7684\u7cfb\u7d71\u7269\u4ef6\uff0c\u4f7f\u7528\u8005\u7269\u4ef6\u4e0d\u6703\u5b58\u653e\u5728\u6b64<\/p>\n<div class=\"21cd169d3c0f71e95b84db320302cb4a\" data-index=\"1\" style=\"float: right; margin:10px 0 10px 10px;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8711325745898650\"\r\n     crossorigin=\"anonymous\"><\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u8fd1\u671f\u5df2\u7d93\u958b\u59cb\u5728\u8a13\u7df4\u4e2d\u5fc3\u5b78\u7fd2SQL Server\uff0c\u8001\u5e2b\u6709\u63d0\u5230\u4e00\u4e9b\u6771\u897f\uff0c\u7d00\u9304\u4e00\u4e0b\uff0c\u56e0 &hellip; <a href=\"https:\/\/blog.pmail.idv.tw\/?p=9119\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[13,114],"tags":[],"class_list":["post-9119","post","type-post","status-publish","format-standard","hentry","category-sql","category-2012sql"],"_links":{"self":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/9119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9119"}],"version-history":[{"count":0,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/9119\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}