{"id":255728,"date":"2022-11-06T08:39:40","date_gmt":"2022-11-06T00:39:40","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=255728"},"modified":"2022-10-23T09:40:24","modified_gmt":"2022-10-23T01:40:24","slug":"sql-server-mysql","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/sql-server-mysql.html","title":{"rendered":"\u5982\u4f55\u4ece SQL Server \u4e3a MySQL \u670d\u52a1\u5668\u914d\u7f6e\u94fe\u63a5\u670d\u52a1\u5668"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nSQL Server \u94fe\u63a5\u670d\u52a1\u5668\u7528\u4e8e\u67e5\u8be2\u8fdc\u7a0b\u6570\u636e\u5e93\uff0c\u5728\u672c\u6280\u5de7\u4e2d\uff0c\u6211\u4eec\u5c06\u5b66\u4e60\u5982\u4f55\u4ece SQL Server \u4e3a MySQL \u670d\u52a1\u5668\u914d\u7f6e\u94fe\u63a5\u670d\u52a1\u5668<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u4e00\u3001\u6982\u8ff0<\/strong><\/div>\n

\u94fe\u63a5\u670d\u52a1\u5668\u662f SQL Server \u53ef\u4ee5\u901a\u8fc7\u76f4\u63a5 T-SQL \u67e5\u8be2\u4e0e\u53e6\u4e00\u4e2a ODBC \u517c\u5bb9\u6570\u636e\u5e93\uff08\u4f8b\u5982\u53e6\u4e00\u4e2a SQL Server \u5b9e\u4f8b\u6216 Oracle \u6570\u636e\u5e93\uff09\u5bf9\u8bdd\u7684\u4e00\u79cd\u65b9\u6cd5\u3002SQL Server \u94fe\u63a5\u670d\u52a1\u5668\u7528\u4e8e\u67e5\u8be2\u8fdc\u7a0b\u6570\u636e\u5e93\uff0c\u5728\u672c\u6280\u5de7\u4e2d\uff0c\u6211\u4eec\u5c06\u5b66\u4e60\u5982\u4f55\u4ece SQL Server \u4e3a MySQL \u670d\u52a1\u5668\u914d\u7f6e\u94fe\u63a5\u670d\u52a1\u5668<\/p>\n

\u4e8c\u3001\u89e3\u51b3\u65b9\u6848<\/strong><\/div>\n

\u4ee5\u4e0b\u662f\u521b\u5efa\u8fde\u63a5\u5230 MySQL \u670d\u52a1\u5668\u7684\u94fe\u63a5\u670d\u52a1\u5668\u7684\u6b65\u9aa4\u3002<\/p>\n

\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5728\u5b89\u88c5\u4e86 SQL Server \u7684\u673a\u5668\u4e0a\u4e3a MySQL \u670d\u52a1\u5668\u521b\u5efa\u4e00\u4e2a ODBC \u6570\u636e\u6e90\u3002\u5c31\u6211\u800c\u8a00\uff0c\u6211\u5728\u540c\u4e00\u4e2a\u673a\u5668\u4e0a\u5b89\u88c5\u4e86 MySQL \u548c SQL Server\u3002<\/p>\n

\u8f6c\u5230\u5f00\u59cb > \u7ba1\u7406\u5de5\u5177 > \u6570\u636e\u6e90 (ODBC) > \u7cfb\u7edf DSN \u5e76\u9009\u62e9\u6dfb\u52a0<\/p>\n

\"\"<\/p>\n

\u9009\u62e9 MySQL ODBC \u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n

\"\"<\/p>\n

\u63d0\u4f9b\u60a8\u9009\u62e9\u7684\u6570\u636e\u6e90\u540d\u79f0\u3002\u8f93\u5165 MySQL \u670d\u52a1\u5668\u7684 TCP\/IP \u670d\u52a1\u5668\u5730\u5740\u3001\u7aef\u53e3\u3001\u7528\u6237\u548c\u5bc6\u7801\uff0c\u7136\u540e\u5355\u51fb\u786e\u5b9a\u3002<\/p>\n

\"\"<\/p>\n

\u73b0\u5728\u6253\u5f00 SQL Server Management Studio (SSMS) \u5e76\u767b\u5f55\u5230 SQL Server\u3002<\/p>\n

\u5728 SQL Server \u5b9e\u4f8b\u7684\u5bf9\u8c61\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\uff0c\u8f6c\u5230\u670d\u52a1\u5668\u5bf9\u8c61\u5e76\u53f3\u952e\u5355\u51fb\u5e76\u9009\u62e9\u65b0\u5efa > \u94fe\u63a5\u670d\u52a1\u5668...<\/p>\n

\u4e3a\u94fe\u63a5\u670d\u52a1\u5668\u6307\u5b9a\u60a8\u9009\u62e9\u7684\u540d\u79f0\u3002<\/p>\n

\u5728 Provider \u4e0b\u62c9\u5217\u8868\u4e2d\u9009\u62e9Microsoft OLEDB Provider for ODBC Drivers\u3002<\/p>\n

\u8f93\u5165\u4ea7\u54c1\u540d\u79f0\u4e3a MySQL \u5e76\u8f93\u5165\u4e4b\u524d\u521b\u5efa\u7684\u6570\u636e\u6e90\u540d\u79f0\u3002<\/p>\n

\"\"<\/p>\n

\u8f6c\u5230\u5b89\u5168\u9009\u9879\u5361\u5e76\u8f93\u5165\u8fdc\u7a0b\u767b\u5f55\u540d\u548c\u5bc6\u7801\uff08\u5728\u5e95\u90e8\uff09\uff0c\u7136\u540e\u5355\u51fb\u786e\u5b9a\u3002<\/p>\n

\"\"<\/p>\n

\u73b0\u5728\u6d4b\u8bd5\u521a\u521a\u521b\u5efa\u7684\u94fe\u63a5\u670d\u52a1\u5668\uff0c\u60a8\u5e94\u8be5\u80fd\u591f\u770b\u5230 MySQL \u6570\u636e\u6e90\u7684\u5bf9\u8c61\u3002<\/p>\n

\"\"<\/p>\n

\u4e09\u3001\u6d4b\u8bd5<\/strong><\/div>\n

\u521b\u5efa\u94fe\u63a5\u670d\u52a1\u5668\u540e\uff0c \u60a8\u5c06\u80fd\u591f\u5728\u5bf9\u8c61\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u770b\u5230\u8fdc\u7a0b\u5bf9\u8c61\u3002<\/p>\n

\"\"<\/p>\n

\u6211\u4eec\u8fd8\u53ef\u4ee5\u8fd0\u884c\u67e5\u8be2\u6765\u8bbf\u95ee\u6570\u636e\u3002<\/p>\n

\"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

\u94fe\u63a5\u670d\u52a1\u5668\u662f SQL Server \u53ef\u4ee5\u901a\u8fc7\u76f4\u63a5 T-SQL \u67e5\u8be2\u4e0e\u53e6\u4e00\u4e2a ODBC \u517c\u5bb9\u6570\u636e\u5e93\uff08\u4f8b\u5982\u53e6\u4e00\u4e2a […]<\/p>\n","protected":false},"author":1920,"featured_media":45793,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-255728","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/255728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1920"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=255728"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/255728\/revisions"}],"predecessor-version":[{"id":255738,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/255728\/revisions\/255738"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/45793"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=255728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=255728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=255728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}