{"id":90466,"date":"2024-10-18T14:56:20","date_gmt":"2024-10-18T06:56:20","guid":{"rendered":"https:\/\/server.hk\/cnblog\/90466\/"},"modified":"2024-10-18T14:56:21","modified_gmt":"2024-10-18T06:56:21","slug":"ora-27457-argument-string-of-job-string-string-has-no-value-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\/90466\/","title":{"rendered":"ORA-27457: argument string of job \u201cstring.string\u201d has no value ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-27457-argument-string-of-job-string-string-has-no-value-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-UeUhAVpTPs\">ORA-27457: argument string of job \u201cstring.string\u201d has no value ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/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\u4fbf\u662fORA-27457\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207Oracle\u7684\u4f5c\u696d\u8abf\u5ea6\u5668\uff08DBMS_SCHEDULER\uff09\u6709\u95dc\uff0c\u7279\u5225\u662f\u5728\u57f7\u884c\u8a08\u5283\u4efb\u52d9\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-27457\u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"ora-27457%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-UeUhAVpTPs\">ORA-27457\u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-27457\u932f\u8aa4\u7684\u5177\u9ad4\u4fe1\u606f\u70ba\u300cargument string of job \u201cstring.string\u201d has no value\u300d\uff0c\u9019\u610f\u5473\u8457\u5728\u8abf\u5ea6\u4f5c\u696d\u7684\u904e\u7a0b\u4e2d\uff0c\u67d0\u500b\u53c3\u6578\u672a\u88ab\u6b63\u78ba\u8a2d\u7f6e\u6216\u50b3\u905e\u3002\u9019\u901a\u5e38\u767c\u751f\u5728\u4ee5\u4e0b\u5e7e\u7a2e\u60c5\u6cc1\u4e0b\uff1a<\/p>\n<ul>\n<li><strong>\u4f5c\u696d\u53c3\u6578\u672a\u8a2d\u7f6e\uff1a<\/strong>\u5728\u5275\u5efa\u6216\u4fee\u6539\u4f5c\u696d\u6642\uff0c\u67d0\u4e9b\u5fc5\u9700\u7684\u53c3\u6578\u672a\u88ab\u8ce6\u503c\u3002<\/li>\n<li><strong>\u4f5c\u696d\u5b9a\u7fa9\u932f\u8aa4\uff1a<\/strong>\u4f5c\u696d\u7684\u5b9a\u7fa9\u53ef\u80fd\u5b58\u5728\u8a9e\u6cd5\u932f\u8aa4\u6216\u908f\u8f2f\u932f\u8aa4\uff0c\u5c0e\u81f4\u53c3\u6578\u7121\u6cd5\u6b63\u78ba\u89e3\u6790\u3002<\/li>\n<li><strong>\u74b0\u5883\u8b8a\u6578\u554f\u984c\uff1a<\/strong>\u5982\u679c\u4f5c\u696d\u4f9d\u8cf4\u65bc\u67d0\u4e9b\u74b0\u5883\u8b8a\u6578\uff0c\u800c\u9019\u4e9b\u8b8a\u6578\u672a\u88ab\u6b63\u78ba\u8a2d\u7f6e\uff0c\u4e5f\u53ef\u80fd\u5c0e\u81f4\u6b64\u932f\u8aa4\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e4%bf%ae%e5%be%a9ora-27457%e9%8c%af%e8%aa%a4-UeUhAVpTPs\">\u5982\u4f55\u4fee\u5fa9ORA-27457\u932f\u8aa4<\/h2>\n<p>\u4fee\u5fa9ORA-27457\u932f\u8aa4\u7684\u904e\u7a0b\u901a\u5e38\u6d89\u53ca\u4ee5\u4e0b\u5e7e\u500b\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e4%bd%9c%e6%a5%ad%e5%ae%9a%e7%be%a9-UeUhAVpTPs\">1. \u6aa2\u67e5\u4f5c\u696d\u5b9a\u7fa9<\/h3>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u6aa2\u67e5\u4f5c\u696d\u7684\u5b9a\u7fa9\uff0c\u78ba\u4fdd\u6240\u6709\u5fc5\u8981\u7684\u53c3\u6578\u90fd\u5df2\u6b63\u78ba\u8a2d\u7f6e\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u4f86\u67e5\u770b\u4f5c\u696d\u7684\u8a73\u7d30\u4fe1\u606f\uff1a<\/p>\n<pre><code>SELECT job_name, job_type, job_action, number_of_arguments\nFROM dba_scheduler_jobs\nWHERE job_name = 'YOUR_JOB_NAME';<\/code><\/pre>\n<p>\u78ba\u4fdd\u6240\u6709\u7684\u53c3\u6578\u90fd\u5df2\u6b63\u78ba\u586b\u5beb\uff0c\u7279\u5225\u662f\u90a3\u4e9b\u6a19\u8a18\u70ba\u5fc5\u9700\u7684\u53c3\u6578\u3002<\/p>\n<h3 id=\"2-%e6%9b%b4%e6%96%b0%e4%bd%9c%e6%a5%ad%e5%8f%83%e6%95%b8-UeUhAVpTPs\">2. \u66f4\u65b0\u4f5c\u696d\u53c3\u6578<\/h3>\n<p>\u5982\u679c\u767c\u73fe\u67d0\u4e9b\u53c3\u6578\u672a\u8a2d\u7f6e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u8a9e\u53e5\u4f86\u66f4\u65b0\u4f5c\u696d\u7684\u53c3\u6578\uff1a<\/p>\n<pre><code>BEGIN\n    DBMS_SCHEDULER.set_job_argument_value('YOUR_JOB_NAME', 1, 'YOUR_VALUE');\nEND;<\/code><\/pre>\n<p>\u5728\u9019\u88e1\uff0c&#8217;YOUR_JOB_NAME&#8217;\u662f\u4f5c\u696d\u7684\u540d\u7a31\uff0c&#8217;1&#8217;\u662f\u53c3\u6578\u7684\u7d22\u5f15\uff0c&#8217;YOUR_VALUE&#8217;\u662f\u60a8\u5e0c\u671b\u8a2d\u7f6e\u7684\u503c\u3002<\/p>\n<h3 id=\"3-%e6%b8%ac%e8%a9%a6%e4%bd%9c%e6%a5%ad-UeUhAVpTPs\">3. \u6e2c\u8a66\u4f5c\u696d<\/h3>\n<p>\u5728\u66f4\u65b0\u4f5c\u696d\u53c3\u6578\u5f8c\uff0c\u60a8\u61c9\u8a72\u6e2c\u8a66\u4f5c\u696d\u4ee5\u78ba\u4fdd\u5176\u6b63\u5e38\u904b\u884c\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u624b\u52d5\u555f\u52d5\u4f5c\u696d\uff1a<\/p>\n<pre><code>BEGIN\n    DBMS_SCHEDULER.run_job('YOUR_JOB_NAME');\nEND;<\/code><\/pre>\n<p>\u89c0\u5bdf\u4f5c\u696d\u7684\u57f7\u884c\u7d50\u679c\uff0c\u78ba\u4fdd\u4e0d\u518d\u51fa\u73feORA-27457\u932f\u8aa4\u3002<\/p>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86%e7%9a%84%e8%80%83%e9%87%8f-UeUhAVpTPs\">\u9060\u7a0b\u8655\u7406\u7684\u8003\u91cf<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u9032\u884c\u9060\u7a0b\u8655\u7406\u4f86\u89e3\u6c7aORA-27457\u932f\u8aa4\u3002\u9019\u53ef\u80fd\u6d89\u53ca\u5230\u9060\u7a0b\u9023\u63a5\u5230\u6578\u64da\u5eab\uff0c\u6aa2\u67e5\u4f5c\u696d\u5b9a\u7fa9\uff0c\u4e26\u9032\u884c\u5fc5\u8981\u7684\u66f4\u6539\u3002\u78ba\u4fdd\u60a8\u64c1\u6709\u9069\u7576\u7684\u6b0a\u9650\u4f86\u57f7\u884c\u9019\u4e9b\u64cd\u4f5c\uff0c\u4e26\u4e14\u5728\u9032\u884c\u66f4\u6539\u4e4b\u524d\u5099\u4efd\u76f8\u95dc\u6578\u64da\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-UeUhAVpTPs\">\u7d50\u8ad6<\/h2>\n<p>ORA-27457\u932f\u8aa4\u53ef\u80fd\u6703\u5c0dOracle\u6578\u64da\u5eab\u7684\u4f5c\u696d\u8abf\u5ea6\u9020\u6210\u5f71\u97ff\uff0c\u4f46\u901a\u904e\u4ed4\u7d30\u6aa2\u67e5\u4f5c\u696d\u5b9a\u7fa9\u548c\u53c3\u6578\u8a2d\u7f6e\uff0c\u901a\u5e38\u53ef\u4ee5\u5feb\u901f\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u4e86\u89e3\u5982\u4f55\u6709\u6548\u5730\u7ba1\u7406\u548c\u8abf\u6574\u4f5c\u696d\u53c3\u6578\uff0c\u5c0d\u65bc\u7dad\u6301\u6578\u64da\u5eab\u7684\u7a69\u5b9a\u6027\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<p>\u5982\u9700\u9032\u4e00\u6b65\u4e86\u89e3\u5982\u4f55\u512a\u5316\u60a8\u7684\u6578\u64da\u5eab\u74b0\u5883\uff0c\u60a8\u53ef\u4ee5\u8003\u616e\u4f7f\u7528<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u670d\u52d9\uff0c\u4ee5\u7372\u5f97\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to troubleshoot ORA-27457: argument string of job \u201cstring.string\u201d has no value in Oracle. Find effective remote resolution strategies.<\/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-90466","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90466","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=90466"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90466\/revisions"}],"predecessor-version":[{"id":90467,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90466\/revisions\/90467"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=90466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=90466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=90466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}