{"id":98123,"date":"2026-08-31T07:26:22","date_gmt":"2026-08-30T23:26:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/98123.html"},"modified":"2026-08-31T07:26:22","modified_gmt":"2026-08-30T23:26:22","slug":"%e3%80%90oracle%e4%b8%93%e6%a0%8f%e3%80%91%e8%b7%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%b0%83%e7%94%a8ora-02064-%e4%b8%8d%e6%94%af%e6%8c%81%e5%88%86%e5%b8%83%e5%bc%8f%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/98123.html","title":{"rendered":"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c"},"content":{"rendered":"<p>Oracle &amp;&amp; OceanBase \u76f8\u5173\u6587\u6863&#xff0c;\u5e0c\u671b\u4e92\u76f8\u5b66\u4e60&#xff0c;<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"45\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1a9e0f1.png\" width=\"45\" \/>\u5171\u540c\u8fdb\u6b65<\/p>\n<p>\u98ce123456789&#xff5e;-CSDN\u535a\u5ba2<\/p>\n<hr \/>\n<h2 style=\"background-color:transparent\">1.\u80cc\u666f<\/h2>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u524d\u51e0\u5929\u53cd\u9988<span style=\"background-color:#ffd900\">\u8de8\u670d\u52a1\u5668\u8c03\u5b58\u50a8\u8fc7\u7a0b\u5305&#xff0c;<\/span>\u62a5\u9519\u00a0<span style=\"color:#fe2c24\"><span style=\"background-color:#ffd900\">ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c<\/span><\/span>\u3002\u672c\u6587\u5c31\u8be5\u95ee\u9898\u8fdb\u884c\u5b9e\u9a8c\u53ca\u89e3\u51b3\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"73\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1ab3f88.png\" width=\"530\" \/><\/p>\n<h2>2. \u5b9e\u9a8c<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"50\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1ac7599.gif\" width=\"50\" \/><\/h2>\n<h3>2.1 \u5b9e\u9a8c\u51c6\u5907<\/h3>\n<p>\u51c6\u5907\u4e24\u53f0\u670d\u52a1\u5668&#xff1a;A\u670d\u52a1\u5668&#xff08;\u5373\u8c03\u7528\u670d\u52a1\u5668&#xff0c;ip 192.168.3.14&#xff09; \u3001<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0B\u670d\u52a1\u5668&#xff08;\u5373\u88ab\u8c03\u7528\u670d\u52a1\u5668&#xff0c;ip 192.168.3.12&#xff09;<\/p>\n<h4>2.1.1 A\u670d\u52a1\u566814\u00a0\u51c6\u5907- \u8868\u3001\u5b58\u50a8\u8fc7\u7a0b\u3001\u5305<\/h4>\n<p>\u521b\u5efa\u6d4b\u8bd5\u8868&#xff1a;ew_dayend_log<\/p>\n<p>\u521b\u5efa\u5b58\u50a8\u8fc7\u7a0b&#xff1a;GET_LOGGER\u00a0 \u63d2\u5165\u8868\u903b\u8f91<\/p>\n<p>\u521b\u5efa\u5305&#xff1a;day_end_test\u00a0 \u51fd\u6570\u4e2d\u8c03\u7528\u5b58\u50a8\u8fc7\u7a0b<\/p>\n<p>&#8211;\u8868&#xff1a;<br \/>\ncreate table EW_DAYEND_LOG<br \/>\n(<br \/>\n  logid         VARCHAR2(45),<br \/>\n  function_name VARCHAR2(200),<br \/>\n  table_name    VARCHAR2(200),<br \/>\n  data_issue    VARCHAR2(7),<br \/>\n  log_time      DATE,<br \/>\n  log_type      VARCHAR2(5),<br \/>\n  message       VARCHAR2(500)<br \/>\n);<\/p>\n<p>&#8211;\u8fc7\u7a0b&#xff1a;<br \/>\nCREATE OR REPLACE PROCEDURE GET_LOGGER(pDataIssue    IN varchar2, &#8211;\u671f\u6b21<br \/>\n                                       pFunctionName IN varchar2, &#8211;\u65b9\u6cd5\u540d\u79f0<br \/>\n                                       pTableName    IN varchar2, &#8211;\u5904\u7406\u8868\u540d\u79f0<br \/>\n                                       pType         IN varchar2, &#8211;0\u6210\u529f 1\u5931\u8d25 3\u5f02\u5e38<br \/>\n                                       vMsg          IN varchar2) is &#8211;\u5904\u7406\u4fe1\u606f<br \/>\n  &#8211;\u63d2\u5165\u65e5\u5fd7<br \/>\nBEGIN<\/p>\n<p>  INSERT INTO EW_DAYEND_LOG<br \/>\n    (LOGID, FUNCTION_NAME, TABLE_NAME, DATA_ISSUE, LOG_TIME, LOG_TYPE, MESSAGE)<br \/>\n  VALUES<br \/>\n    (SYS_GUID(),<br \/>\n     pFunctionName ,<br \/>\n     pTableName    ,<br \/>\n     pDataIssue    ,<br \/>\n     SYSDATE,<br \/>\n     pType         ,<br \/>\n     vMsg          );<br \/>\n  COMMIT;<\/p>\n<p>END GET_LOGGER;<br \/>\n&#8211;\u5305<br \/>\ncreate or replace package day_end_test is<\/p>\n<p>  function day_end(pDataIssue in varchar2) return varchar2;<\/p>\n<p>end day_end_test;<br \/>\n\/<\/p>\n<p>CREATE OR REPLACE PACKAGE BODY day_end_test is<\/p>\n<p>  function day_end (pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;0&#039;, &#039;\u8c03\u7528\u6d4b\u8bd5&#039;);<br \/>\n     \/* INSERT INTO EW_DAYEND_LOG<br \/>\n        (LOGID, FUNCTION_NAME, TABLE_NAME, DATA_ISSUE, LOG_TIME, LOG_TYPE, MESSAGE)<br \/>\n      VALUES<br \/>\n        (SYS_GUID(),<br \/>\n         &#039;day_end_test&#039; ,<br \/>\n         &#039;log&#039;  ,<br \/>\n         pDataIssue,<br \/>\n         SYSDATE,<br \/>\n         &#039;0&#039;,<br \/>\n         &#039;\u8c03\u7528\u6d4b\u8bd51&#039;);<br \/>\n      COMMIT;*\/<\/p>\n<p>     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n    end;<br \/>\nend day_end_test;<br \/>\n\/ <\/p>\n<h4>2.1.2 B\u670d\u52a1\u566812\u00a0\u51c6\u5907- dblink\u3001\u5305<\/h4>\n<p>\u521b\u5efadblink&#xff1a;ew_14<\/p>\n<p>\u521b\u5efa\u5305&#xff1a;day_end_test2<\/p>\n<p>&#8211;\u521b\u5efadblink<br \/>\ncreate public database link ew_14<br \/>\n  connect to xxx identified by xxx<br \/>\n  using &#039;192.168.3.14\/orcl&#039;;<br \/>\n&#8211;\u5305<br \/>\ncreate or replace package day_end_test2 is<br \/>\n  function day_end_run(pDataIssue in varchar2) return varchar2;<br \/>\nend day_end_test2;<br \/>\n\/<br \/>\nCREATE OR REPLACE PACKAGE BODY day_end_test2 is<\/p>\n<p>  function day_end_run(pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      GET_LOGGER&#064;ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;0&#039;, &#039;12\u8c03\u7528\u6d4b\u8bd5&#039;);<\/p>\n<p>     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER&#064;Ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n    end;<br \/>\nend day_end_test2;<br \/>\n\/ <\/p>\n<h3>2.2\u00a0\u5b9e\u9a8c\u6d4b\u8bd5<\/h3>\n<h4>2.2.1 \u5728B\u670d\u52a1\u566814 \u6d4b\u8bd5\u672c\u5730\u7684\u5b58\u50a8\u8fc7\u7a0b\u3001\u5305<\/h4>\n<p>test\u5305\u53d1\u73b0\u6ca1\u6709\u95ee\u9898&#xff0c;\u4fdd\u8bc1\u672c\u5730\u662f\u6b63\u786e\u7684\u3002<\/p>\n<p>\u6267\u884c\u7ed3\u679c&#xff1a;ok<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"167\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1adc561.png\" width=\"397\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"163\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1af3f59.png\" width=\"280\" \/><\/p>\n<h4>2.2.2 \u5728A\u670d\u52a1\u566812 \u6d4b\u8bd5\u8c03\u7528 B\u670d\u52a1\u5668<\/h4>\n<h5><span style=\"background-color:#ffd900\">\u67e5\u8be2dblink 14&#xff1a;ok<\/span><\/h5>\n<p> &#8211;\u67e5\u8be214<br \/>\nselect * from   EW_DAYEND_LOG&#064;EW_14 ; <\/p>\n<p>\u7ed3\u679c&#xff1a;\u67e5\u8be2ok<\/p>\n<h5><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"76\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1b17baf.png\" width=\"558\" \/><\/h5>\n<h5><span style=\"background-color:#ffd900\">\u8868\u76f4\u63a5\u63d2\u516514&#xff1a;ok<\/span><\/h5>\n<p> &#8211;\u63d2\u5165<br \/>\nINSERT INTO EW_DAYEND_LOG&#064;Ew_14<br \/>\n (LOGID, FUNCTION_NAME, TABLE_NAME, DATA_ISSUE, LOG_TIME, LOG_TYPE, MESSAGE)<br \/>\nVALUES (SYS_GUID(), &#039;day_end_test&#039; , &#039;log&#039;  ,&#039;2026-08&#039;, SYSDATE,&#039;0&#039;,&#039;\u8c03\u7528\u6d4b\u8bd51&#039;);<br \/>\nCOMMIT;<\/p>\n<p>select * from EW_DAYEND_LOG&#064;Ew_14; <\/p>\n<p>\u7ed3\u679c&#xff1a;\u63d2\u5165ok<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"186\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1b32a84.png\" width=\"523\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"89\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1b4b393.png\" width=\"555\" \/><\/p>\n<h5 style=\"background-color:transparent\"><span style=\"background-color:#ffd900\">\u5305\u8c03\u7528 \u8fdc\u7aef\u5b58\u50a8\u8fc7\u7a0b &#xff1a;ok<\/span><\/h5>\n<p>\u6d4b\u8bd5\u7ed3\u679c&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"190\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1b65b6b.png\" width=\"398\" \/><\/p>\n<p>\u67e5\u770b\u7ed3\u679c&#xff1a;ok<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"90\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1b814cd.png\" width=\"497\" \/><\/p>\n<h5 style=\"background-color:transparent\"><span style=\"background-color:#ffd900\">\u00a0\u5305\u8c03\u7528 \u8fdc\u7aef\u5305 &#xff1a;<\/span><span style=\"color:#fe2c24\"><span style=\"background-color:#ffd900\">ORA-02064<\/span><\/span><\/h5>\n<\/p>\n<p> &#8211;\u4fee\u6539\u5305\u4f53&#xff1a;\u6539\u4e3a\u8c03\u7528\u8fdc\u7a0b\u5305<br \/>\nCREATE OR REPLACE PACKAGE BODY day_end_test2 is<\/p>\n<p>  function day_end_run(pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      &#8211;GET_LOGGER&#064;ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;0&#039;, &#039;12\u8c03\u7528\u6d4b\u8bd5&#039;);<\/p>\n<p>      vResult :&#061; day_end_test.day_end&#064;ew_14(pDataIssue);<br \/>\n     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER&#064;Ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n  end;<br \/>\nend day_end_test2; <\/p>\n<p>\u00a0\u518d\u6b21\u6d4b\u8bd5&#xff1a;<span style=\"background-color:#ff9900\">\u8fd4\u56de1 \u62a5\u9519<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"186\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1ba3003.png\" width=\"380\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"87\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1bbc917.png\" width=\"543\" \/><\/p>\n<p>\u62a5\u9519&#xff1a;<span style=\"color:#fe2c24\"><span style=\"background-color:#ffd900\">ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c<\/span><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"51\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1ab3f88.png\" width=\"368\" \/><\/p>\n<p>19\u884c\u5c31\u662f\u63d2\u5165commit \u7684\u65f6\u5019\u3002<\/p>\n<p>\u81f3\u6b64&#xff0c;\u95ee\u9898\u590d\u73b0\u3002<\/p>\n<h3>2.3\u00a0\u5b9e\u9a8c\u89e3\u51b3<\/h3>\n<h4 style=\"background-color:transparent\">2.3.1 \u4fee\u6539A\u670d\u52a1\u566814\u7684\u5305\u00a0 \u6d4b\u8bd5no<\/h4>\n<p>\u4fee\u6539A\u670d\u52a1\u566814\u7684\u5305&#xff1a;\u5c06\u5305\u4e2d\u7684\u5b58\u50a8\u8fc7\u7a0b\u6ce8\u91ca\u8c03 &#xff0c;\u6539\u4e3a\u76f4\u63a5\u63d2\u5165\u8868&#xff0c;\u518d\u6d4b\u8bd5<\/p>\n<p>CREATE OR REPLACE PACKAGE BODY day_end_test is<\/p>\n<p>  function day_end (pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      &#8211;GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;0&#039;, &#039;\u8c03\u7528\u6d4b\u8bd5&#039;);<br \/>\n      INSERT INTO EW_DAYEND_LOG<br \/>\n        (LOGID, FUNCTION_NAME, TABLE_NAME, DATA_ISSUE, LOG_TIME, LOG_TYPE, MESSAGE)<br \/>\n      VALUES<br \/>\n        (SYS_GUID(),&#039;day_end_test&#039; ,&#039;log&#039;  , pDataIssue,SYSDATE, &#039;0&#039;,&#039;\u8c03\u7528\u6d4b\u8bd533&#039;);<br \/>\n      COMMIT;<\/p>\n<p>     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n    end;<br \/>\nend day_end_test;<\/p>\n<p>\u5728B\u670d\u52a1\u5668\u8c03\u7528A\u7684\u5305&#xff0c;\u6d4b\u8bd5\u7ed3\u679c&#xff1a;\u4f9d\u7136\u62a5\u9519\u00a0ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"92\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232619-6a94bc1be1d58.png\" width=\"601\" \/><\/p>\n<p>\u8bf4\u660e&#xff1a; \u8c03\u7528\u8fdc\u7aef\u5305\u4e0d\u53ef\u4ee5&#xff0c;\u8c03\u7528\u8fdc\u7aef\u5b58\u50a8\u8fc7\u7a0b\u53ef\u4ee5\u3002<\/p>\n<h4 style=\"background-color:transparent\">2.3.2\u00a0\u589e\u52a0A\u670d\u52a1\u5668\u542b\u5305\u7684\u5b58\u50a8\u8fc7\u7a0b\u00a0 \u6d4b\u8bd5 no<\/h4>\n<p>&#8211;\u589e\u52a0\u5b58\u50a8\u8fc7\u7a0b<br \/>\nCREATE OR REPLACE PROCEDURE PRO_TEST(pDataIssue    IN varchar2,<br \/>\n                                     vResult OUT varchar2) is <\/p>\n<p>BEGIN<\/p>\n<p>  vResult :&#061; day_end_test.day_end(pDataIssue);<\/p>\n<p>END PRO_TEST;<\/p>\n<h5>\u672c\u5730\u6d4b\u8bd5&#xff1a;ok<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"193\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232620-6a94bc1c14a2e.png\" width=\"347\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"97\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232620-6a94bc1c2c9a6.png\" width=\"514\" \/><\/p>\n<h5 style=\"background-color:transparent\">\u8fdc\u7aef\u8c03\u7528b&#xff1a;\u4f9d\u7136\u62a5\u9519<\/h5>\n<p>&#8211;\u4fee\u6539\u8fdc\u7aef\u8c03\u7528\u5305&#xff1a;\u6539\u4e3a\u8c03\u7528\u5b58\u50a8\u8fc7\u7a0b<br \/>\nCREATE OR REPLACE PACKAGE BODY day_end_test2 is<\/p>\n<p>  function day_end_run(pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      &#8211;GET_LOGGER&#064;ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;0&#039;, &#039;12\u8c03\u7528\u6d4b\u8bd5&#039;);<\/p>\n<p>      &#8211;vResult :&#061; day_end_test.day_end&#064;ew_14(pDataIssue);<br \/>\n      PRO_TEST&#064;ew_14(pDataIssue,vResult);<\/p>\n<p>     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER&#064;Ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n  end;<br \/>\nend day_end_test2; <\/p>\n<p>\u6d4b\u8bd5\u7ed3\u679c&#xff1a;\u62a5\u9519\u00a0ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"206\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232620-6a94bc1c55cdc.png\" width=\"426\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"111\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232620-6a94bc1c6ebc0.png\" width=\"588\" \/><\/p>\n<h4>2.3.3 \u89e3\u51b3\u601d\u8def1&#xff1a;\u88ab\u8c03\u7528\u7684\u4e0d\u8981commit<\/h4>\n<p><span style=\"background-color:null\">\u00a0 \u00a0 \u00a0\u89e3\u51b3\u601d\u8def&#xff1a;<\/span>\u88ab\u8c03\u7528\u7684\u4e0d\u8981commit&#xff0c;rollback\u7b49\u6570\u636e\u5e93\u4e8b\u52a1\u64cd\u4f5c&#xff0c;\u7edf\u4e00\u5728\u670d\u52a1\u7aef\u6267\u884c\u3002<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u670d\u52a1\u5668A 14 \u88ab\u8c03\u7528\u7aef&#xff1a;\u4ee3\u7801\u6ce8\u91cacommit\u3002\u670d\u52a1\u5668B 12 \u8c03\u7528\u7aef&#xff0c;\u589e\u52a0commit;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"304\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232620-6a94bc1c99cc0.png\" width=\"563\" \/><\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u4ee3\u7801\u4fee\u6539\u5982\u4e0b&#xff1a;<\/p>\n<p>&#8211;\u670d\u52a1\u5668A \u88ab\u8c03\u7528\u7aef&#xff0c;\u53bb\u6389commit<\/p>\n<p>CREATE OR REPLACE PACKAGE BODY day_end_test is<\/p>\n<p>  function day_end (pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      &#8211;GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;0&#039;, &#039;\u8c03\u7528\u6d4b\u8bd5&#039;);<br \/>\n      INSERT INTO EW_DAYEND_LOG<br \/>\n        (LOGID, FUNCTION_NAME, TABLE_NAME, DATA_ISSUE, LOG_TIME, LOG_TYPE, MESSAGE)<br \/>\n      VALUES<br \/>\n        (SYS_GUID(),&#039;day_end_test&#039; ,&#039;log&#039;  , pDataIssue,SYSDATE, &#039;0&#039;,&#039;\u8c03\u7528\u6d4b\u8bd533&#039;);<br \/>\n      &#8211;COMMIT;<\/p>\n<p>     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n    end;<br \/>\nend day_end_test;<\/p>\n<p>&#8211;\u670d\u52a1\u5668b 12\u4e0a&#xff1a;\u589e\u52a0commit<br \/>\nCREATE OR REPLACE PACKAGE BODY day_end_test2 is<\/p>\n<p>  function day_end_run(pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      &#8211;GET_LOGGER&#064;ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;0&#039;, &#039;12\u8c03\u7528\u6d4b\u8bd5&#039;);<\/p>\n<p>      vResult :&#061; day_end_test.day_end&#064;ew_14(pDataIssue);<br \/>\n      &#8211;PRO_TEST&#064;ew_14(pDataIssue,vResult);<br \/>\n      commit;<br \/>\n     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER&#064;Ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n  end;<br \/>\nend day_end_test2;<\/p>\n<p>\u6267\u884c\u7ed3\u679c&#xff1a;ok<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"156\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232620-6a94bc1cc5935.png\" width=\"334\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"138\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232620-6a94bc1cde4f6.png\" width=\"567\" \/><\/p>\n<p>\u4f46\u662f&#xff0c;\u88ab\u8c03\u7528\u7684\u5305\u4e2d\u4e0d\u53ef\u80fd\u53ea\u6709\u4e00\u4e2acommit&#xff0c;\u800c\u4e14\u91cc\u9762\u8fd8\u8c03\u7528\u7684\u5b50\u8fc7\u7a0b&#xff0c;\u6240\u4ee5\u8fd8\u662f\u91c7\u7528\u53e6\u5916\u4e00\u79cd\u65b9\u5f0f\u89e3\u51b3&#xff1a;\u81ea\u6cbb\u4e8b\u52a1\u3002<\/p>\n<h4>2.3.4\u00a0\u89e3\u51b3\u601d\u8def2&#xff1a;\u88ab\u88ab\u8c03\u7528\u7684\u91c7\u7528\u81ea\u6cbb\u4e8b\u52a1\u00a0<\/h4>\n<p><span style=\"background-color:null\">\u00a0 \u00a0 \u00a0\u89e3\u51b3\u601d\u8def&#xff1a;<\/span><span style=\"background-color:#a2e043\">\u7528Oracle\u81ea\u6cbb\u4e8b\u52a1\u6765\u89e3\u51b3<\/span><span style=\"background-color:null\">\u3002\u5728\u8c03\u7528\u7aef\u4e2d\u7684procedure\u4e2d\u6dfb\u52a0oralce\u81ea\u6cbb\u4e8b\u52a1\u7684\u58f0\u660e\u65b9\u6cd5\u4e3a&#xff1a;<\/span><span style=\"background-color:null\">PRAGMA AUTONOMOUS_TRANSACTIO<\/span><\/p>\n<p><span style=\"background-color:null\">\u00a0 \u00a0 \u00a0\u5373<\/span>\u5728\u670d\u52a1\u5668B\u4fa7\u589e\u52a0\u8bed\u53e5&#xff0c;\u5373<span style=\"background-color:#ffd900\">\u5c06\u5206\u5e03\u5f0f\u8c03\u7528\u8bbe\u7f6e\u6210\u4e3a\u81ea\u4e3b\u63d0\u4ea4<\/span>. \u4fee\u6539\u4ee3\u7801\u5982\u4e0b&#xff1a;<\/p>\n<p>&#8211;\u670d\u52a1\u5668A 14 \u88ab\u8c03\u7528\u7aef&#xff1a;\u589e\u52a0\u81ea\u6cbb\u4e8b\u52a1\u7533\u660e<br \/>\nCREATE OR REPLACE PACKAGE BODY day_end_test is<\/p>\n<p>  function day_end (pDataIssue in varchar2) return varchar2 is<br \/>\n    PRAGMA AUTONOMOUS_TRANSACTION;<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      &#8211;GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;0&#039;, &#039;\u8c03\u7528\u6d4b\u8bd5&#039;);<br \/>\n      INSERT INTO EW_DAYEND_LOG<br \/>\n        (LOGID, FUNCTION_NAME, TABLE_NAME, DATA_ISSUE, LOG_TIME, LOG_TYPE, MESSAGE)<br \/>\n      VALUES<br \/>\n        (SYS_GUID(),&#039;day_end_test&#039; ,&#039;log&#039;  , pDataIssue,SYSDATE, &#039;0&#039;,&#039;\u8c03\u7528\u6d4b\u8bd533&#039;);<br \/>\n      COMMIT;<\/p>\n<p>     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER(pDataIssue, &#039;day_end_test&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n    end;<br \/>\nend day_end_test;<\/p>\n<p>&#8211;\u670d\u52a1\u5668B  12 \u8c03\u7528\u7aef&#xff1a;\u53bb\u6389commit,\u6539\u56de\u6b63\u5e38\u8c03\u7528<br \/>\nCREATE OR REPLACE PACKAGE BODY day_end_test2 is<\/p>\n<p>  function day_end_run(pDataIssue in varchar2) return varchar2 is<br \/>\n    vResult varchar2(10);<br \/>\n    vMsg    varchar2(1000);<br \/>\n  begin<br \/>\n    vResult :&#061; &#039;0&#039;;<\/p>\n<p>    BEGIN<br \/>\n      &#8211;GET_LOGGER&#064;ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;0&#039;, &#039;12\u8c03\u7528\u6d4b\u8bd5&#039;);<\/p>\n<p>      vResult :&#061; day_end_test.day_end&#064;ew_14(pDataIssue);<br \/>\n      &#8211;PRO_TEST&#064;ew_14(pDataIssue,vResult);<br \/>\n      &#8211;commit;<br \/>\n     EXCEPTION<br \/>\n      WHEN OTHERS THEN<br \/>\n        vMsg :&#061; &#039;\u62a5\u9519\u4f4d\u7f6e&#xff1a;&#039; || dbms_utility.format_error_backtrace || &#039;\u62a5\u9519\u4fe1\u606f&#xff1a;&#039; ||<br \/>\n                substr(SQLERRM, 1, 200);<br \/>\n        GET_LOGGER&#064;Ew_14(pDataIssue, &#039;day_end_test2.day_end_run&#064;12&#039;, &#039;log&#039;, &#039;3&#039;, vMsg);<br \/>\n        vResult :&#061; &#039;1&#039;;<br \/>\n    END;<br \/>\n    return vResult;<br \/>\n  end;<br \/>\nend day_end_test2;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"502\" src=\"2026-08-31cpl5oknskir.png\" width=\"555\" \/><\/p>\n<p>\u6d4b\u8bd5\u7ed3\u679c&#xff1a;ok<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"214\" src=\"2026-08-310iw1gejigvp.png\" width=\"432\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"141\" src=\"2026-08-31f003jygheq2.png\" width=\"550\" \/><\/p>\n<p>\u5c06\u88ab\u8c03\u7528\u7aef \u6539\u56de\u6700\u521d\u7684\u5305&#xff08;\u5305\u91cc\u8c03\u7528\u7684\u5b50\u8fc7\u7a0b&#xff09;&#xff0c;\u518d\u6b21\u6d4b\u8bd5&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"345\" src=\"2026-08-311wt5bsqlzw2.png\" width=\"475\" \/><\/p>\n<p>\u6d4b\u8bd5\u7ed3\u679c&#xff1a;ok\u00a0\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"162\" src=\"2026-08-314ilz3dm11bb.png\" width=\"588\" \/><\/p>\n<p><span style=\"background-color:#a2e043\">\u81ea\u6b64&#xff0c;\u95ee\u9898\u5f7b\u5e95\u89e3\u51b3<\/span><\/p>\n<h2 style=\"background-color:transparent\">3.\u603b\u7ed3\u00a0 \u00a0<\/h2>\n<h3 style=\"background-color:transparent\">1&#xff09;\u62a5\u9519\u573a\u666f\u00a0<\/h3>\n<p>\u00a0 \u00a0 \u00a0Oracle\u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c&#xff1a;<span style=\"background-color:#fe2c24\">ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c<\/span><\/p>\n<p>\u4e00\u3001\u4f7f\u7528DBLink \u8c03\u7528\u8fdc\u7a0b\u7684\u5b58\u50a8\u8fc7\u7a0b&#xff0c;\u8fdc\u7a0b\u5b58\u50a8\u8fc7\u7a0b\u5b58\u5728Commit\u8bed\u53e5&#xff0c;\u4f1a\u5bfc\u81f4\u6b64\u5f02\u5e38\u3002<\/p>\n<p>\u4e8c\u3001\u00a0\u4f7f\u7528DBLink \u8c03\u7528\u8fdc\u7a0b\u7684\u5b58\u50a8\u8fc7\u7a0b\u65f6&#xff0c;\u8fdc\u7a0b\u5b58\u50a8\u8fc7\u7a0b\u901a\u8fc7\u5f15\u7528\u6e38\u6807\u8fd4\u56de\u7ed3\u679c\u96c6&#xff0c;\u4e5f\u4f1a\u5bfc\u81f4\u6b64\u5f02\u5e38\u3002<\/p>\n<\/p>\n<p>\u00a0 \u00a0 \u4f8b\u5982&#xff1a;\u00a0\u6570\u636e\u5e93A\u00a0,B\u00a0\u901a\u8fc7DBlink\u4e92\u76f8\u8bbf\u95ee,\u00a0\u6570\u636e\u5e93A\u8c03\u7528\u6570\u636e\u5e93B\u7684\u5b58\u50a8\u8fc7\u7a0bpro_b\u00a0,\u00a0pro_b\u91cc\u9762\u6709DML\u8bed\u53e5,\u4e14\u6709commit\u00a0,\u6216rollback.\u00a0\u8fd9\u65f6\u6570\u636e\u5e93A\u901a\u8fc7DBlink\u00a0\u7684\u8c03\u7528pro_b&#064;B\u5c31\u4f1a\u4ea7\u751f\u8fd9\u4e2a\u9519\u8bef\u3002<\/p>\n<h3>2&#xff09;\u5206\u5e03\u5f0f\u4e8b\u52a1\u539f\u7406&#x1f4a1;<\/h3>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u5f53\u9700\u8981\u5728\u591a\u4e2aOracle\u6570\u636e\u5e93\u4e4b\u95f4\u8fdb\u884c<span style=\"background-color:#ff9900\">\u6570\u636e\u4e00\u81f4\u6027\u64cd\u4f5c\u65f6<\/span>&#xff0c;\u5c31\u4f1a\u7528\u5230<span style=\"background-color:#a2e043\">\u5206\u5e03\u5f0f\u4e8b\u52a1<\/span>\u3002<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u5206\u5e03\u5728\u672c\u5730\u548c\u8fdc\u7a0b\u4e24\u4e2adb\u7684\u4e8b\u52a1\u540c\u65f6\u64cd\u4f5c&#xff0c;\u5c31\u6784\u6210\u4e86\u4e00\u4e2a\u5206\u5e03\u5f0f\u4e8b\u52a1\u3002\u5206\u5e03\u5f0f\u4e8b\u52a1<span style=\"background-color:#d4e9d5\">\u91c7\u7528 <\/span><span style=\"background-color:#d4e9d5\">Two-Phase Commit<\/span><span style=\"background-color:#d4e9d5\"> \u63d0\u4ea4\u673a\u5236<\/span>&#xff0c;\u4fdd\u8bc1\u5206\u5e03\u5728\u5404\u4e2a\u8282\u70b9\u7684\u5b50\u4e8b\u52a1\u80fd\u591f\u5168\u90e8\u63d0\u4ea4\u6216\u5168\u90e8\u56de\u6eda\u7684\u539f\u5b50\u6027\u3002<\/p>\n<p>\u5728\u8fd9\u79cd\u673a\u5236\u4e0b&#xff0c;\u4e8b\u52a1\u5904\u7406\u8fc7\u7a0b\u5206\u4e3a\u4e09\u4e2a\u9636\u6bb5&#xff1a;<\/p>\n<ul>\n<li>PREPARE&#xff1a;\u53d1\u8d77\u5206\u5e03\u5f0f\u4e8b\u52a1\u7684\u8282\u70b9\u901a\u77e5\u5404\u4e2a\u5173\u8054\u8282\u70b9\u51c6\u5907\u63d0\u4ea4\u6216\u56de\u6eda\u3002<\/li>\n<li>COMMIT&#xff1a;\u5199\u5165commited SCN&#xff0c;\u91ca\u653e\u9501\u8d44\u6e90<\/li>\n<li>FORGET&#xff1a;\u60ac\u7591\u4e8b\u52a1\u8868\u548c\u5173\u8054\u7684\u6570\u636e\u5e93\u89c6\u56fe\u4fe1\u606f\u6e05\u7406<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u5404\u5173\u8054\u8282\u70b9\u6b64\u65f6\u4f1a\u505a\u4e09\u4e2a\u4e8b\u60c5&#xff1a;\u5237\u65b0redo\u4fe1\u606f\u5230redo log\u4e2d&#xff1b;\u5c06\u6301\u6709\u7684\u9501\u8f6c\u6362\u4e3a\u60ac\u7591\u4e8b\u52a1\u9501&#xff1b;\u53d6\u5404\u8282\u70b9\u4e2d\u6700\u5927\u7684SCN\u53f7\u8fdb\u884c\u540c\u6b65\u3002<\/p>\n<p>\u00a0 \u00a0 \u00a0SQL Server\u4f9d\u8d56<span style=\"background-color:#ffd900\">\u5206\u5e03\u5f0f\u4e8b\u52a1\u534f\u8c03\u5668<\/span>Distributed Transaction Coordinator<span style=\"background-color:#ffd900\">&#xff08;MSDTC&#xff09;<\/span>\u6765\u4f7f\u7528\u5206\u5e03\u5f0f\u4e8b\u52a1&#xff0c;Oracle Client\u4f7f\u7528<span style=\"background-color:#ffd900\">Oracle Services for Microsoft Transaction Server\u670d\u52a1<\/span>\u6765\u652f\u6301\u5206\u5e03\u5f0f\u4e8b\u52a1\u3002<\/p>\n<h3>3&#xff09;Oracle \u81ea\u6cbb\u4e8b\u52a1<\/h3>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 oracle\u4e00\u4e2a\u5b58\u50a8\u8fc7\u7a0b\u4e2d\u8c03\u7528\u4e86\u53e6\u5916\u4e00\u4e2a\u5b58\u50a8\u8fc7\u7a0b&#xff0c;\u4e3a\u4e86\u4f7f\u4e24\u4e2a\u5b58\u50a8\u8fc7\u7a0b\u4e4b\u95f4\u7684\u4e8b\u52a1\u4e0d\u4f1a\u76f8\u4e92\u5f71\u54cd&#xff0c;\u5c31\u9700\u8981\u81ea\u6cbb\u4e8b\u52a1\u5904\u7406&#xff1a;<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0<span style=\"background-color:#a2e043\">PRAGMA\u00a0 AUTONOMOUS_TRANSACTION; \u00a0&#8212; \u7528\u4e8e\u6807\u8bb0\u5b50\u7a0b\u5e8f\u4e3a\u81ea\u4e3b\u4e8b\u52a1\u5904\u7406<\/span><\/p>\n<\/p>\n<h3>\u5230\u6b64&#xff1a;ok\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"31\" src=\"2026-08-31tpq2l2hlsni.gif\" width=\"31\" \/><\/h3>\n<hr \/>\n<p>\u9879\u76ee\u7ba1\u7406&#8211;\u76f8\u5173\u77e5\u8bc6\u00a0\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"45\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1a9e0f1.png\" width=\"45\" \/><\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u9879\u76ee\u7ee9\u6548\u57df1\/2-CSDN\u535a\u5ba2<\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u9879\u76ee\u7ee9\u6548\u57df1\/2_\u516b\u5927\u7ee9\u6548\u57df\u548c\u5341\u5927\u7ba1\u7406\u6709\u4ec0\u4e48\u8054\u7cfb-CSDN\u535a\u5ba2<\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u9879\u76ee\u7ee9\u6548\u57df2\/2_\u7ee9\u6548\u57df \u56e2\u4e0d\u7b56\u5212-CSDN\u535a\u5ba2<\/p>\n<p>\u9ad8\u9879-\u6848\u4f8b\u5206\u6790\u4e07\u80fd\u7b54\u6848&#xff08;\u4f5c\u4e1a\u5206\u4eab&#xff09;-CSDN\u535a\u5ba2<\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u8ba1\u7b97\u9898\u516c\u5f0f\u3010\u590d\u4e60\u3011_\u9879\u76ee\u7ba1\u7406\u8fdb\u5ea6\u8ba1\u7b97\u9898\u516c\u5f0f:\u4e50\u89c2-CSDN\u535a\u5ba2<\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u914d\u7f6e\u7ba1\u7406\u4e0e\u53d8\u66f4-CSDN\u535a\u5ba2<\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u9879\u76ee\u7ba1\u7406\u79d1\u5b66\u57fa\u7840-CSDN\u535a\u5ba2<\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u9ad8\u7ea7\u9879\u76ee\u7ba1\u7406-CSDN\u535a\u5ba2<\/p>\n<p>\u9879\u76ee\u7ba1\u7406-\u76f8\u5173\u77e5\u8bc6&#xff08;\u7ec4\u7ec7\u901a\u7528\u6cbb\u7406\u3001\u7ec4\u7ec7\u901a\u7528\u7ba1\u7406\u3001\u6cd5\u5f8b\u6cd5\u89c4\u4e0e\u6807\u51c6\u89c4\u8303&#xff09;-CSDN\u535a\u5ba2<\/p>\n<hr \/>\n<p>Oracle\u5176\u4ed6\u6587\u6863&#xff0c;\u5e0c\u671b\u4e92\u76f8\u5b66\u4e60&#xff0c;<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"45\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1a9e0f1.png\" width=\"45\" \/>\u5171\u540c\u8fdb\u6b65<\/p>\n<p>Oracle-\u627e\u56de\u8bef\u5220\u7684\u8868\u6570\u636e(LogMiner \u6316\u6398\u65e5\u5fd7)_oracle\u65e5\u5fd7\u6316\u6398\u6062\u590d\u6570\u636e-CSDN\u535a\u5ba2<\/p>\n<p>oracle \u8ddf\u8e2a\u6587\u4ef6&#8211;\u5ba1\u8ba1\u65e5\u5fd7_oracle\u5ba1\u8ba1\u65e5\u5fd7-CSDN\u535a\u5ba2<\/p>\n<p>ORA-12899\u62a5\u9519&#xff0c;\u9047\u5230\u6570\u636e\u8868\u67d0\u5b57\u6bb5\u957f\u5ea6\u5947\u602a\u73b0\u8c61&#xff1a;\u201cOracle\u5b57\u7b26\u578b&#xff0c;\u957f\u5ea650\u201d\u4f46length\u67e5\u5374\u6ca1\u670950_varchar(50) oracle \u8d85\u51fa\u622a\u65ad-CSDN\u535a\u5ba2<\/p>\n<p>EXP-00091: Exporting questionable statistics.\u89e3\u51b3\u65b9\u6848-CSDN\u535a\u5ba2<\/p>\n<p>Oracle \u66f4\u6362\u76d1\u542c\u7aef\u53e3-CSDN\u535a\u5ba2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle &amp;&amp; OceanBase \u76f8\u5173\u6587\u6863&#xff0c;\u5e0c\u671b\u4e92\u76f8\u5b66\u4e60&#xff0c;\u5171\u540c\u8fdb\u6b65<br \/>\n\u98ce123456789&#xff5e;-CSDN\u535a\u5ba2 1.\u80cc\u666f \u524d\u51e0\u5929\u53cd\u9988\u8de8\u670d\u52a1\u5668\u8c03\u5b58\u50a8\u8fc7\u7a0b\u5305&#xff0c;\u62a5\u9519\u00a0ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c\u3002\u672c\u6587\u5c31\u8be5\u95ee\u9898\u8fdb\u884c\u5b9e\u9a8c\u53ca\u89e3\u51b3\u3002 2. \u5b9e\u9a8c<br \/>\n2.1 \u5b9e\u9a8c\u51c6\u5907<br \/>\n\u51c6\u5907\u4e24\u53f0\u670d\u52a1\u5668&#xff1a;A\u670d\u52a1\u5668&#xff08;\u5373\u8c03\u7528\u670d\u52a1\u5668&#xff0c;ip 192.168.3.14&#xff09; \u3001 B\u670d\u52a1\u5668&#xff08;<\/p>\n","protected":false},"author":2,"featured_media":98103,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[604,100],"topic":[],"class_list":["post-98123","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-oracle","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/98123.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Oracle &amp;&amp; OceanBase \u76f8\u5173\u6587\u6863&#xff0c;\u5e0c\u671b\u4e92\u76f8\u5b66\u4e60&#xff0c;\u5171\u540c\u8fdb\u6b65 \u98ce123456789&#xff5e;-CSDN\u535a\u5ba2 1.\u80cc\u666f \u524d\u51e0\u5929\u53cd\u9988\u8de8\u670d\u52a1\u5668\u8c03\u5b58\u50a8\u8fc7\u7a0b\u5305&#xff0c;\u62a5\u9519\u00a0ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c\u3002\u672c\u6587\u5c31\u8be5\u95ee\u9898\u8fdb\u884c\u5b9e\u9a8c\u53ca\u89e3\u51b3\u3002 2. \u5b9e\u9a8c 2.1 \u5b9e\u9a8c\u51c6\u5907 \u51c6\u5907\u4e24\u53f0\u670d\u52a1\u5668&#xff1a;A\u670d\u52a1\u5668&#xff08;\u5373\u8c03\u7528\u670d\u52a1\u5668&#xff0c;ip 192.168.3.14&#xff09; \u3001 B\u670d\u52a1\u5668&#xff08;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/98123.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-30T23:26:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1a9e0f1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/98123.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/98123.html\",\"name\":\"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-30T23:26:22+00:00\",\"dateModified\":\"2026-08-30T23:26:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/98123.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/98123.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/98123.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/98123.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Oracle &amp;&amp; OceanBase \u76f8\u5173\u6587\u6863&#xff0c;\u5e0c\u671b\u4e92\u76f8\u5b66\u4e60&#xff0c;\u5171\u540c\u8fdb\u6b65 \u98ce123456789&#xff5e;-CSDN\u535a\u5ba2 1.\u80cc\u666f \u524d\u51e0\u5929\u53cd\u9988\u8de8\u670d\u52a1\u5668\u8c03\u5b58\u50a8\u8fc7\u7a0b\u5305&#xff0c;\u62a5\u9519\u00a0ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c\u3002\u672c\u6587\u5c31\u8be5\u95ee\u9898\u8fdb\u884c\u5b9e\u9a8c\u53ca\u89e3\u51b3\u3002 2. \u5b9e\u9a8c 2.1 \u5b9e\u9a8c\u51c6\u5907 \u51c6\u5907\u4e24\u53f0\u670d\u52a1\u5668&#xff1a;A\u670d\u52a1\u5668&#xff08;\u5373\u8c03\u7528\u670d\u52a1\u5668&#xff0c;ip 192.168.3.14&#xff09; \u3001 B\u670d\u52a1\u5668&#xff08;","og_url":"https:\/\/www.wsisp.com\/helps\/98123.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-30T23:26:22+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260830232618-6a94bc1a9e0f1.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/98123.html","url":"https:\/\/www.wsisp.com\/helps\/98123.html","name":"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-30T23:26:22+00:00","dateModified":"2026-08-30T23:26:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/98123.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/98123.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/98123.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010Oracle\u4e13\u680f\u3011\u8de8\u670d\u52a1\u5668\u8c03\u7528ORA-02064: \u4e0d\u652f\u6301\u5206\u5e03\u5f0f\u64cd\u4f5c"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/98123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=98123"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/98123\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/98103"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=98123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=98123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=98123"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=98123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}