{"id":90996,"date":"2024-10-18T17:27:19","date_gmt":"2024-10-18T09:27:19","guid":{"rendered":"https:\/\/server.hk\/cnblog\/90996\/"},"modified":"2024-10-18T17:27:20","modified_gmt":"2024-10-18T09:27:20","slug":"ora-29323-alter-database-set-compatibility-command-not-supported-by-string-oracle%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/90996\/","title":{"rendered":"ORA-29323: ALTER DATABASE SET COMPATIBILITY command not supported by string ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-29323-alter-database-set-compatibility-command-not-supported-by-string-iGnGXPPYUW\">ORA-29323: ALTER DATABASE SET COMPATIBILITY Command Not Supported by String<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u6642\uff0c\u958b\u767c\u8005\u548c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u5c31\u662fORA-29323\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u5617\u8a66\u57f7\u884cALTER DATABASE SET COMPATIBILITY\u547d\u4ee4\u6642\uff0c\u4e26\u4e14\u7cfb\u7d71\u8fd4\u56de\u7684\u6d88\u606f\u6307\u51fa\u8a72\u547d\u4ee4\u4e0d\u88ab\u7576\u524d\u7684\u6578\u64da\u5eab\u7248\u672c\u6240\u652f\u6301\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e\u9019\u500b\u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"ora-29323%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-iGnGXPPYUW\">ORA-29323\u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-29323\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f\u6578\u64da\u5eab\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\u4e0d\u7b26\u5408\u7576\u524d\u7684Oracle\u7248\u672c\u3002\u7576\u7528\u6236\u5617\u8a66\u5c07\u6578\u64da\u5eab\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\u70ba\u4e00\u500b\u4e0d\u652f\u6301\u7684\u7248\u672c\u6642\uff0c\u5c31\u6703\u51fa\u73fe\u9019\u500b\u932f\u8aa4\u3002\u9019\u901a\u5e38\u767c\u751f\u5728\u4ee5\u4e0b\u60c5\u6cc1\uff1a<\/p>\n<ul>\n<li>\u6578\u64da\u5eab\u7248\u672c\u904e\u820a\uff0c\u7121\u6cd5\u652f\u6301\u65b0\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\u3002<\/li>\n<li>\u7528\u6236\u5617\u8a66\u5c07\u517c\u5bb9\u6027\u8a2d\u7f6e\u70ba\u4e00\u500b\u4e0d\u6b63\u78ba\u7684\u5b57\u7b26\u4e32\u3002<\/li>\n<li>\u6578\u64da\u5eab\u7684\u521d\u59cb\u5316\u53c3\u6578\u8a2d\u7f6e\u4e0d\u6b63\u78ba\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e6%aa%a2%e6%9f%a5%e7%95%b6%e5%89%8d%e6%95%b8%e6%93%9a%e5%ba%ab%e7%89%88%e6%9c%ac-iGnGXPPYUW\">\u5982\u4f55\u6aa2\u67e5\u7576\u524d\u6578\u64da\u5eab\u7248\u672c<\/h2>\n<p>\u5728\u89e3\u6c7aORA-29323\u932f\u8aa4\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u78ba\u8a8d\u7576\u524d\u7684\u6578\u64da\u5eab\u7248\u672c\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u4f86\u6aa2\u67e5\u7248\u672c\uff1a<\/p>\n<pre><code>SELECT * FROM v$version;<\/code><\/pre>\n<p>\u9019\u500b\u67e5\u8a62\u5c07\u8fd4\u56de\u7576\u524d\u6578\u64da\u5eab\u7684\u7248\u672c\u4fe1\u606f\uff0c\u5e6b\u52a9\u7528\u6236\u4e86\u89e3\u5176\u652f\u6301\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\u3002<\/p>\n<h2 id=\"%e8%a7%a3%e6%b1%baora-29323%e9%8c%af%e8%aa%a4%e7%9a%84%e6%96%b9%e6%b3%95-iGnGXPPYUW\">\u89e3\u6c7aORA-29323\u932f\u8aa4\u7684\u65b9\u6cd5<\/h2>\n<p>\u89e3\u6c7aORA-29323\u932f\u8aa4\u7684\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<h3 id=\"1-%e7%a2%ba%e8%aa%8d%e5%85%bc%e5%ae%b9%e6%80%a7%e8%a8%ad%e7%bd%ae-iGnGXPPYUW\">1. \u78ba\u8a8d\u517c\u5bb9\u6027\u8a2d\u7f6e<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u60a8\u5617\u8a66\u8a2d\u7f6e\u7684\u517c\u5bb9\u6027\u5b57\u7b26\u4e32\u662f\u5426\u6b63\u78ba\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8a62\u4f86\u67e5\u770b\u7576\u524d\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\uff1a<\/p>\n<pre><code>SHOW PARAMETER compatible;<\/code><\/pre>\n<p>\u78ba\u4fdd\u60a8\u8981\u8a2d\u7f6e\u7684\u7248\u672c\u662f\u652f\u6301\u7684\u3002\u4f8b\u5982\uff0c\u5982\u679c\u7576\u524d\u7248\u672c\u662f12c\uff0c\u5247\u53ef\u4ee5\u8a2d\u7f6e\u70ba12.1.0\u621612.2.0\u7b49\u3002<\/p>\n<h3 id=\"2-%e6%9b%b4%e6%96%b0%e6%95%b8%e6%93%9a%e5%ba%ab%e7%89%88%e6%9c%ac-iGnGXPPYUW\">2. \u66f4\u65b0\u6578\u64da\u5eab\u7248\u672c<\/h3>\n<p>\u5982\u679c\u7576\u524d\u6578\u64da\u5eab\u7248\u672c\u904e\u820a\uff0c\u8003\u616e\u5347\u7d1a\u5230\u6700\u65b0\u7248\u672c\u3002\u5347\u7d1a\u5f8c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528ALTER DATABASE SET COMPATIBILITY\u547d\u4ee4\u4f86\u8a2d\u7f6e\u517c\u5bb9\u6027\u3002<\/p>\n<h3 id=\"3-%e4%bd%bf%e7%94%a8%e6%ad%a3%e7%a2%ba%e7%9a%84%e5%91%bd%e4%bb%a4%e6%a0%bc%e5%bc%8f-iGnGXPPYUW\">3. \u4f7f\u7528\u6b63\u78ba\u7684\u547d\u4ee4\u683c\u5f0f<\/h3>\n<p>\u78ba\u4fdd\u4f7f\u7528\u6b63\u78ba\u7684\u547d\u4ee4\u683c\u5f0f\u4f86\u8a2d\u7f6e\u517c\u5bb9\u6027\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code>ALTER DATABASE SET COMPATIBLE = '12.2.0';<\/code><\/pre>\n<p>\u9019\u6a23\u7684\u547d\u4ee4\u683c\u5f0f\u53ef\u4ee5\u907f\u514d\u56e0\u8a9e\u6cd5\u932f\u8aa4\u800c\u5c0e\u81f4\u7684\u554f\u984c\u3002<\/p>\n<h3 id=\"4-%e6%aa%a2%e6%9f%a5%e5%88%9d%e5%a7%8b%e5%8c%96%e5%8f%83%e6%95%b8-iGnGXPPYUW\">4. \u6aa2\u67e5\u521d\u59cb\u5316\u53c3\u6578<\/h3>\n<p>\u6709\u6642\uff0c\u6578\u64da\u5eab\u7684\u521d\u59cb\u5316\u53c3\u6578\u53ef\u80fd\u6703\u5f71\u97ff\u517c\u5bb9\u6027\u8a2d\u7f6e\u3002\u6aa2\u67e5\u76f8\u95dc\u7684\u521d\u59cb\u5316\u53c3\u6578\uff0c\u78ba\u4fdd\u5b83\u5011\u6b63\u78ba\u914d\u7f6e\u3002<\/p>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86ora-29323%e9%8c%af%e8%aa%a4-iGnGXPPYUW\">\u9060\u7a0b\u8655\u7406ORA-29323\u932f\u8aa4<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u80fd\u7121\u6cd5\u76f4\u63a5\u8a2a\u554f\u6578\u64da\u5eab\u9032\u884c\u6545\u969c\u6392\u9664\u3002\u9019\u6642\uff0c\u53ef\u4ee5\u8003\u616e\u4f7f\u7528\u9060\u7a0b\u7ba1\u7406\u5de5\u5177\u4f86\u89e3\u6c7a\u554f\u984c\u3002\u8a31\u591a\u73fe\u4ee3\u7684\u6578\u64da\u5eab\u7ba1\u7406\u5de5\u5177\u90fd\u652f\u6301\u9060\u7a0b\u9023\u63a5\uff0c\u5141\u8a31\u7528\u6236\u5728\u4e0d\u76f4\u63a5\u8a2a\u554f\u6578\u64da\u5eab\u7684\u60c5\u6cc1\u4e0b\u9032\u884c\u6545\u969c\u6392\u9664\u548c\u7dad\u8b77\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-iGnGXPPYUW\">\u7e3d\u7d50<\/h2>\n<p>ORA-29323\u932f\u8aa4\u901a\u5e38\u662f\u7531\u65bc\u4e0d\u6b63\u78ba\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\u6216\u6578\u64da\u5eab\u7248\u672c\u4e0d\u652f\u6301\u6240\u5f15\u8d77\u7684\u3002\u901a\u904e\u6aa2\u67e5\u7576\u524d\u7248\u672c\u3001\u78ba\u8a8d\u517c\u5bb9\u6027\u8a2d\u7f6e\u3001\u66f4\u65b0\u6578\u64da\u5eab\u7248\u672c\u4ee5\u53ca\u4f7f\u7528\u6b63\u78ba\u7684\u547d\u4ee4\u683c\u5f0f\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u9019\u4e00\u554f\u984c\u3002\u6b64\u5916\uff0c\u9060\u7a0b\u7ba1\u7406\u5de5\u5177\u7684\u4f7f\u7528\u4e5f\u80fd\u5e6b\u52a9\u7528\u6236\u5728\u7121\u6cd5\u76f4\u63a5\u8a2a\u554f\u6578\u64da\u5eab\u7684\u60c5\u6cc1\u4e0b\u9032\u884c\u6545\u969c\u6392\u9664\u3002\u5c0d\u65bc\u9700\u8981\u7a69\u5b9a\u548c\u9ad8\u6548\u904b\u884c\u7684\u6578\u64da\u5eab\u74b0\u5883\uff0c\u9078\u64c7\u5408\u9069\u7684<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u6216<a href=\"https:\/\/server.hk\">\u4e91\u4f3a\u670d\u5668<\/a>\u89e3\u6c7a\u65b9\u6848\u5c07\u662f\u660e\u667a\u4e4b\u8209\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to troubleshoot the ORA-29323 error in Oracle, which indicates unsupported ALTER DATABASE SET COMPATIBILITY commands, with remote resolution tips.<\/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-90996","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90996","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=90996"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90996\/revisions"}],"predecessor-version":[{"id":90997,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90996\/revisions\/90997"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=90996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=90996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=90996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}