{"id":152023,"date":"2024-11-01T19:28:18","date_gmt":"2024-11-01T11:28:18","guid":{"rendered":"https:\/\/server.hk\/cnblog\/152023\/"},"modified":"2024-11-01T19:28:20","modified_gmt":"2024-11-01T11:28:20","slug":"%e6%af%94%e8%bc%83mssql%e6%95%b8%e6%93%9a%e5%ba%ab%e5%92%8cmysql%ef%bc%9a%e6%80%a7%e8%83%bd%e3%80%81%e5%ae%89%e5%85%a8%e5%92%8c%e9%81%a9%e7%94%a8%e9%a0%98%e5%9f%9f-mssql%e6%95%b8%e6%93%9a%e5%ba%ab","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/152023\/","title":{"rendered":"\u6bd4\u8f03MSSQL\u6578\u64da\u5eab\u548cMySQL\uff1a\u6027\u80fd\u3001\u5b89\u5168\u548c\u9069\u7528\u9818\u57df (mssql\u6578\u64da\u5eab\u548cmysql)"},"content":{"rendered":"<h1 id=\"%e6%af%94%e8%bc%83mssql%e6%95%b8%e6%93%9a%e5%ba%ab%e5%92%8cmysql%ef%bc%9a%e6%80%a7%e8%83%bd%e3%80%81%e5%ae%89%e5%85%a8%e5%92%8c%e9%81%a9%e7%94%a8%e9%a0%98%e5%9f%9f-vCBIKvbyFa\">\u6bd4\u8f03MSSQL\u6578\u64da\u5eab\u548cMySQL\uff1a\u6027\u80fd\u3001\u5b89\u5168\u548c\u9069\u7528\u9818\u57df<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u6578\u64da\u9a45\u52d5\u4e16\u754c\u4e2d\uff0c\u9078\u64c7\u5408\u9069\u7684\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff08DBMS\uff09\u5c0d\u65bc\u4f01\u696d\u7684\u6210\u529f\u81f3\u95dc\u91cd\u8981\u3002MSSQL\uff08Microsoft SQL Server\uff09\u548cMySQL\u662f\u5169\u7a2e\u6700\u53d7\u6b61\u8fce\u7684\u95dc\u4fc2\u578b\u6578\u64da\u5eab\u7cfb\u7d71\uff0c\u5404\u81ea\u64c1\u6709\u7368\u7279\u7684\u7279\u6027\u548c\u512a\u52e2\u3002\u672c\u6587\u5c07\u5f9e\u6027\u80fd\u3001\u5b89\u5168\u6027\u548c\u9069\u7528\u9818\u57df\u4e09\u500b\u65b9\u9762\u5c0d\u9019\u5169\u7a2e\u6578\u64da\u5eab\u9032\u884c\u6bd4\u8f03\u3002<\/p>\n<h2 id=\"%e6%80%a7%e8%83%bd%e6%af%94%e8%bc%83-vCBIKvbyFa\">\u6027\u80fd\u6bd4\u8f03<\/h2>\n<p>\u6027\u80fd\u662f\u9078\u64c7\u6578\u64da\u5eab\u6642\u6700\u91cd\u8981\u7684\u8003\u91cf\u4e4b\u4e00\u3002MSSQL\u548cMySQL\u5728\u6027\u80fd\u4e0a\u5404\u6709\u5343\u79cb\uff0c\u9069\u5408\u4e0d\u540c\u7684\u4f7f\u7528\u5834\u666f\u3002<\/p>\n<ul>\n<li><strong>MSSQL\uff1a<\/strong>\u5728\u8655\u7406\u5927\u578b\u6578\u64da\u96c6\u548c\u8907\u96dc\u67e5\u8a62\u6642\uff0cMSSQL\u901a\u5e38\u8868\u73fe\u51fa\u8272\u3002\u5b83\u7684\u67e5\u8a62\u512a\u5316\u5668\u80fd\u5920\u81ea\u52d5\u9078\u64c7\u6700\u4f73\u7684\u57f7\u884c\u8a08\u5283\uff0c\u4e26\u4e14\u652f\u6301\u591a\u7a2e\u7d22\u5f15\u985e\u578b\uff0c\u9019\u4f7f\u5f97\u67e5\u8a62\u901f\u5ea6\u66f4\u5feb\u3002\u6b64\u5916\uff0cMSSQL\u9084\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u4e26\u884c\u8655\u7406\u80fd\u529b\uff0c\u80fd\u5920\u540c\u6642\u8655\u7406\u591a\u500b\u8acb\u6c42\u3002<\/li>\n<li><strong>MySQL\uff1a<\/strong>MySQL\u5728\u8b80\u53d6\u64cd\u4f5c\u4e0a\u8868\u73fe\u512a\u7570\uff0c\u7279\u5225\u662f\u5728\u8655\u7406\u5927\u91cf\u7684\u7c21\u55ae\u67e5\u8a62\u6642\u3002\u5b83\u7684\u5b58\u5132\u5f15\u64ce\uff08\u5982InnoDB\u548cMyISAM\uff09\u53ef\u4ee5\u6839\u64da\u9700\u6c42\u9032\u884c\u9078\u64c7\uff0c\u9019\u4f7f\u5f97MySQL\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\u80fd\u5920\u63d0\u4f9b\u66f4\u5feb\u7684\u6027\u80fd\u3002\u5c0d\u65bc\u5c0f\u578b\u5230\u4e2d\u578b\u61c9\u7528\uff0cMySQL\u7684\u6027\u80fd\u901a\u5e38\u8db3\u5920\u4e14\u9ad8\u6548\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%ae%89%e5%85%a8%e6%80%a7%e6%af%94%e8%bc%83-vCBIKvbyFa\">\u5b89\u5168\u6027\u6bd4\u8f03<\/h2>\n<p>\u5b89\u5168\u6027\u662f\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\u4e2d\u4e0d\u53ef\u5ffd\u8996\u7684\u4e00\u74b0\u3002MSSQL\u548cMySQL\u5728\u5b89\u5168\u6027\u65b9\u9762\u7684\u8a2d\u8a08\u7406\u5ff5\u6709\u6240\u4e0d\u540c\u3002<\/p>\n<ul>\n<li><strong>MSSQL\uff1a<\/strong>MSSQL\u63d0\u4f9b\u4e86\u591a\u5c64\u6b21\u7684\u5b89\u5168\u6027\uff0c\u5305\u62ec\u7528\u6236\u8eab\u4efd\u9a57\u8b49\u3001\u89d2\u8272\u7ba1\u7406\u548c\u6578\u64da\u52a0\u5bc6\u7b49\u529f\u80fd\u3002\u5b83\u652f\u6301Windows\u8eab\u4efd\u9a57\u8b49\u548cSQL Server\u8eab\u4efd\u9a57\u8b49\uff0c\u4e26\u4e14\u53ef\u4ee5\u901a\u904e\u900f\u660e\u6578\u64da\u52a0\u5bc6\uff08TDE\uff09\u4f86\u4fdd\u8b77\u975c\u614b\u6578\u64da\u3002\u6b64\u5916\uff0cMSSQL\u9084\u63d0\u4f9b\u4e86\u5be9\u8a08\u529f\u80fd\uff0c\u80fd\u5920\u8ffd\u8e64\u7528\u6236\u6d3b\u52d5\u548c\u6578\u64da\u8b8a\u66f4\u3002<\/li>\n<li><strong>MySQL\uff1a<\/strong>MySQL\u7684\u5b89\u5168\u6027\u4e3b\u8981\u4f9d\u8cf4\u65bc\u7528\u6236\u8cec\u6236\u548c\u6b0a\u9650\u7ba1\u7406\u3002\u5b83\u652f\u6301\u57fa\u65bc\u89d2\u8272\u7684\u8a2a\u554f\u63a7\u5236\uff0c\u4e26\u4e14\u53ef\u4ee5\u901a\u904eSSL\u52a0\u5bc6\u4f86\u4fdd\u8b77\u6578\u64da\u50b3\u8f38\u3002\u7136\u800c\uff0cMySQL\u7684\u5b89\u5168\u6027\u8a2d\u7f6e\u76f8\u5c0d\u8f03\u70ba\u7c21\u55ae\uff0c\u5c0d\u65bc\u9700\u8981\u9ad8\u5b89\u5168\u6027\u7684\u61c9\u7528\uff0c\u53ef\u80fd\u9700\u8981\u984d\u5916\u7684\u914d\u7f6e\u548c\u76e3\u63a7\u3002<\/li>\n<\/ul>\n<h2 id=\"%e9%81%a9%e7%94%a8%e9%a0%98%e5%9f%9f%e6%af%94%e8%bc%83-vCBIKvbyFa\">\u9069\u7528\u9818\u57df\u6bd4\u8f03<\/h2>\n<p>\u4e0d\u540c\u7684\u6578\u64da\u5eab\u7cfb\u7d71\u9069\u5408\u4e0d\u540c\u7684\u61c9\u7528\u5834\u666f\uff0c\u4e86\u89e3\u5b83\u5011\u7684\u9069\u7528\u9818\u57df\u6709\u52a9\u65bc\u505a\u51fa\u660e\u667a\u7684\u9078\u64c7\u3002<\/p>\n<ul>\n<li><strong>MSSQL\uff1a<\/strong>MSSQL\u901a\u5e38\u9069\u7528\u65bc\u5927\u578b\u4f01\u696d\u548c\u9700\u8981\u9ad8\u53ef\u7528\u6027\u3001\u9ad8\u6027\u80fd\u7684\u61c9\u7528\u3002\u5b83\u5728\u91d1\u878d\u3001\u91ab\u7642\u548c\u653f\u5e9c\u7b49\u884c\u696d\u4e2d\u5ee3\u6cdb\u4f7f\u7528\uff0c\u56e0\u70ba\u9019\u4e9b\u884c\u696d\u5c0d\u6578\u64da\u7684\u5b89\u5168\u6027\u548c\u5b8c\u6574\u6027\u8981\u6c42\u6975\u9ad8\u3002<\/li>\n<li><strong>MySQL\uff1a<\/strong>MySQL\u5247\u66f4\u9069\u5408\u4e2d\u5c0f\u578b\u4f01\u696d\u548cWeb\u61c9\u7528\u3002\u7531\u65bc\u5176\u958b\u6e90\u7279\u6027\u548c\u9748\u6d3b\u6027\uff0c\u8a31\u591a\u521d\u5275\u516c\u53f8\u548c\u958b\u767c\u8005\u9078\u64c7MySQL\u4f5c\u70ba\u5176\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\u3002\u5b83\u5728\u96fb\u5b50\u5546\u52d9\u3001\u5167\u5bb9\u7ba1\u7406\u7cfb\u7d71\uff08CMS\uff09\u548c\u793e\u4ea4\u5a92\u9ad4\u5e73\u53f0\u4e2d\u4e5f\u5f97\u5230\u4e86\u5ee3\u6cdb\u61c9\u7528\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-vCBIKvbyFa\">\u7e3d\u7d50<\/h2>\n<p>\u7e3d\u7684\u4f86\u8aaa\uff0cMSSQL\u548cMySQL\u5404\u6709\u5176\u512a\u52e2\u548c\u9069\u7528\u5834\u666f\u3002MSSQL\u5728\u6027\u80fd\u548c\u5b89\u5168\u6027\u65b9\u9762\u8868\u73fe\u512a\u7570\uff0c\u9069\u5408\u5927\u578b\u4f01\u696d\u548c\u9ad8\u9700\u6c42\u7684\u61c9\u7528\uff1b\u800cMySQL\u5247\u4ee5\u5176\u9748\u6d3b\u6027\u548c\u6613\u7528\u6027\u53d7\u5230\u4e2d\u5c0f\u578b\u4f01\u696d\u7684\u9752\u775e\u3002\u5728\u9078\u64c7\u6578\u64da\u5eab\u6642\uff0c\u4f01\u696d\u61c9\u6839\u64da\u81ea\u8eab\u7684\u9700\u6c42\u3001\u9810\u7b97\u548c\u6280\u8853\u80fd\u529b\u4f86\u505a\u51fa\u660e\u667a\u7684\u6c7a\u7b56\u3002<\/p>\n<p>\u5982\u679c\u60a8\u6b63\u5728\u5c0b\u627e\u53ef\u9760\u7684 <a href=\"https:\/\/server.hk\">VPS<\/a> \u89e3\u6c7a\u65b9\u6848\u4f86\u652f\u6301\u60a8\u7684\u6578\u64da\u5eab\u9700\u6c42\uff0cServer.HK \u63d0\u4f9b\u591a\u7a2e\u9078\u64c7\uff0c\u5e6b\u52a9\u60a8\u8f15\u9b06\u7ba1\u7406\u548c\u64f4\u5c55\u60a8\u7684\u696d\u52d9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6bd4\u8f03MSSQL\u548cMySQL\u5728\u6027\u80fd\u3001\u5b89\u5168\u6027\u53ca\u9069\u7528\u9818\u57df\u7684\u5dee\u7570\uff0c\u5e6b\u52a9\u60a8\u9078\u64c7\u6700\u5408\u9069\u7684\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-152023","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/152023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=152023"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/152023\/revisions"}],"predecessor-version":[{"id":152024,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/152023\/revisions\/152024"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=152023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=152023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=152023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}