{"id":163,"date":"2020-03-23T22:56:00","date_gmt":"2020-03-23T22:56:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=163"},"modified":"2024-02-02T10:06:41","modified_gmt":"2024-02-02T15:06:41","slug":"ora-01858-a-non-numeric-character-was-found-where-a-numeric-was-expected","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/ora-01858-a-non-numeric-character-was-found-where-a-numeric-was-expected\/","title":{"rendered":"ORA-01858: a non-numeric character was found where a numeric was expected"},"content":{"rendered":"\n<p><strong>Error Message<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ORA-01858: a non-numeric character was found where a numeric was expected<\/code><\/pre>\n\n\n\n<p><strong>What it means<\/strong><\/p>\n\n\n\n<p>This error occurs if a wrong value is passed when converting a number or string to date. <\/p>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<p>To fix this problem, find out what date format the date is stored in e.g. yyyymmdd, dd-mm-yy, dd-mon-yy, etc. Then rewrite the to_date() statement with the correct format. For example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>to_date('11-11-2011', 'DD-MM-YYYY')<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Error Message What it means This error occurs if a wrong value is passed when converting a number or string to date. Solution To fix this problem, find out what date format the date is stored in e.g. yyyymmdd, dd-mm-yy, dd-mon-yy, etc. Then rewrite the to_date() statement with the correct format. For example<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,230],"tags":[14,3],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-database","category-qa","tag-database","tag-oracle"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":164,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/163\/revisions\/164"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}