{"id":42,"date":"2015-06-08T06:59:17","date_gmt":"2015-06-08T06:59:17","guid":{"rendered":"http:\/\/www.hadooh.com\/?p=42"},"modified":"2015-06-08T06:59:17","modified_gmt":"2015-06-08T06:59:17","slug":"ora-01861-literal-does-not-match-format-string-2","status":"publish","type":"post","link":"https:\/\/www.hadooh.com\/?p=42","title":{"rendered":"ORA-01861: literal does not match format string"},"content":{"rendered":"<p>\uc624\ub80c\uc9c0\uc5d0\uc11c\ub294 \uc815\uc0c1\uc801\uc73c\ub85c \uc2e4\ud589\ub418\ub294\ub370 \uc11c\ubc84\uc62c\ub824\ub193\uace0 \uc2e4\ud589\ud558\uba74 \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c<br \/>\njava.sql.SQLException: ORA-01861: literal does not match format string<\/p>\n<p>to_char(add_months(pln_horizon_str_dt,1),&#8217;YYYY&#8217;)<\/p>\n<p>to_char, to_date\ub97c \uc0ac\uc6a9\ud560 \ub54c, \ub450\ubc88 \uc9f8 \uc778\uc790\uac12\uc744 \uba85\uc2dc\ud558\uc9c0 \uc54a\uc73c\uba74<br \/>\nDBMS\uc758 NLS_DATE_FORMAT \uac12\uc5d0 \ub530\ub77c \uc704\uc758 \uc5d0\ub7ec\uac00 \uac11\ud22d\ud280 \ud55c\ub2e4\uace0 \ud55c\ub2e4.<\/p>\n<p>\uadf8\ub798\uc11c \ucffc\ub9ac\ub97c \uc544\ub798\uc640 \uac19\uc774 \ubcc0\uacbd\ud588\ub354\ub2c8 \uc81c\ub300\ub85c \ub3cc\uc544\uac04\ub2e4.<br \/>\nto_char(add_months(to_date(pln_horizon_str_dt,&#8217;yyyymmdd&#8217;),1),&#8217;YYYY&#8217;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ub80c\uc9c0\uc5d0\uc11c\ub294 \uc815\uc0c1\uc801\uc73c\ub85c \uc2e4\ud589\ub418\ub294\ub370 \uc11c\ubc84\uc62c\ub824\ub193\uace0 \uc2e4\ud589\ud558\uba74 \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c java.sql.SQLException: ORA-01861: literal does not match format string to_char(add_months(pln_horizon_str_dt,1),&#8217;YYYY&#8217;) to_char, to_date\ub97c \uc0ac\uc6a9\ud560 \ub54c, \ub450\ubc88 \uc9f8 \uc778\uc790\uac12\uc744 \uba85\uc2dc\ud558\uc9c0 \uc54a\uc73c\uba74 DBMS\uc758 NLS_DATE_FORMAT \uac12\uc5d0 \ub530\ub77c \uc704\uc758 \uc5d0\ub7ec\uac00 \uac11\ud22d\ud280 \ud55c\ub2e4\uace0 \ud55c\ub2e4. \uadf8\ub798\uc11c \ucffc\ub9ac\ub97c \uc544\ub798\uc640 \uac19\uc774 \ubcc0\uacbd\ud588\ub354\ub2c8 \uc81c\ub300\ub85c \ub3cc\uc544\uac04\ub2e4. to_char(add_months(to_date(pln_horizon_str_dt,&#8217;yyyymmdd&#8217;),1),&#8217;YYYY&#8217;)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts\/42"}],"collection":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":1,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hadooh.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}