{"id":278,"date":"2015-06-11T09:04:09","date_gmt":"2015-06-11T13:04:09","guid":{"rendered":"http:\/\/dbtricks.com\/?p=278"},"modified":"2015-12-02T06:25:51","modified_gmt":"2015-12-02T10:25:51","slug":"pls-00801-internal-error-string","status":"publish","type":"post","link":"https:\/\/dbtricks.com\/?p=278","title":{"rendered":"PLS-00801: internal error [string]"},"content":{"rendered":"<p>apparently, pls-00801: internal error [phdcsql_print_kge_errors::parm pos] is one of the most annoying oracle errors. off course, phdcsql_print_kge_errors::parm pos is just an example that can be replcaed with any other undecipherable set characters.<\/p>\n<p>Oracle&#8217;s official error description is:<\/p>\n<p>Cause: This is a generic internal error that might occur during compilation or execution. The first parameter is the internal error number.<\/p>\n<p>Action: Report this error as a bug to your Customer Support representative. <\/p>\n<p>While it might be very tempting to contact Oracle Support, many users will prefer to try and solve the problem without opening a service request and waiting for an answer.<br \/>\nBasically, what this error means is that there is a problem with this query but Oracle is having problem describing the error. The result is a generic (and not really helpful ) error message.<br \/>\nLike any generic error description, many reasons can cause the problem.  The only solution is trying to identify the problem yourself by trial and error.<\/p>\n<p>Copy the query part of the code to a separate window and try to tweak it without changing the basics: change tables order, change aliases names, comment what you can or run it without variables. Even if this will not solve the problem, sometimes this can provide a more informative error message.<br \/>\nUsing this method I have found  several issues that caused pls-00801 internal error. I am writing a few in order to provide some list of things that can cause this error:<\/p>\n<p>1)\tThe query used a remote database using a db link and the database link user did not have proper permissions.<br \/>\n2)\tExtra not visible control characters  that were added to the code during a problematic copy-paste from the web or from Word.<br \/>\n3)\tExtra characters that might have different  meaning in oracle like:&#038;,&#8221;,_ etc.<br \/>\n4)\t Extra spaces<br \/>\n5)\tInvalid objects on remote database<br \/>\n6)\tSeveral known Oracle bugs (search metalink for the error)<br \/>\n7)      An error on a remote database can not be displayed.<br \/>\n8)\tYour entry here &#8230;<\/p>\n<p>Of course, there are countless other reasons for pls-00801. If you encounter any other reason please share it in the comments to help others.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>apparently, pls-00801: internal error [phdcsql_print_kge_errors::parm pos] is one of the most annoying oracle errors. off course, phdcsql_print_kge_errors::parm pos is just an example that can be replcaed with any other undecipherable set characters. Oracle&#8217;s official error description is: Cause: This is a generic internal error that might occur during compilation or execution. The first parameter is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[85,86,84],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-oracle-error","tag-phdcsql_print_kge_errors","tag-pls-00801"],"_links":{"self":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=278"}],"version-history":[{"count":3,"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts\/278\/revisions\/306"}],"wp:attachment":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}