{"id":82,"date":"2009-11-17T21:02:19","date_gmt":"2009-11-18T04:02:19","guid":{"rendered":"https:\/\/gonzalo.aro.cl\/blog\/?p=82"},"modified":"2009-11-18T12:44:28","modified_gmt":"2009-11-18T19:44:28","slug":"diferencias-entre-systimestamp-y-sysdate-en-oracle","status":"publish","type":"post","link":"https:\/\/gonzalo.aro.cl\/blog\/2009\/11\/17\/diferencias-entre-systimestamp-y-sysdate-en-oracle\/","title":{"rendered":"Diferencias entre systimestamp y sysdate en Oracle"},"content":{"rendered":"<p>Tengan cuidado al usar systimestamp y sysdate en Oracle, esto porque existe una peque\u00f1a diferencia al momento de tratar de presentar informacion:<\/p>\n<pre class=\"brush: sql\">SELECT TO_CHAR(systimestamp, 'DD\/MM\/YYYY HH24:MI:SS.FF3') FROM dual;\r\nSELECT TO_CHAR(sysdate, 'DD\/MM\/YYYY HH24:MI:SS.FF3') FROM dual;<\/pre>\n<p>Estas dos sentencias son diferentes, la primera te entrega la fecha hasta los milisegundos y la segunda da error. Esto porque sysdate solo guarda hasta el segundo, no considera los milisegundos.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tengan cuidado al usar systimestamp y sysdate en Oracle, esto porque existe una peque\u00f1a diferencia al momento de tratar de presentar informacion: SELECT TO_CHAR(systimestamp, &#8216;DD\/MM\/YYYY HH24:MI:SS.FF3&#8217;) FROM dual; SELECT TO_CHAR(sysdate, &#8216;DD\/MM\/YYYY HH24:MI:SS.FF3&#8217;) FROM dual; Estas dos sentencias son diferentes, la primera te entrega la fecha hasta los milisegundos y la segunda da error. Esto porque [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,9],"tags":[],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-base-de-datos","category-desarrollo","category-oracle"],"_links":{"self":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/82"}],"collection":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":5,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":84,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/82\/revisions\/84"}],"wp:attachment":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}