{"id":14,"date":"2016-08-21T20:00:00","date_gmt":"2016-08-21T23:00:00","guid":{"rendered":"http:\/\/escovadordebit.com.br\/?p=14"},"modified":"2016-08-21T20:00:00","modified_gmt":"2016-08-21T23:00:00","slug":"oracle-formatacao-de-data-na-query","status":"publish","type":"post","link":"https:\/\/escovadordebit.com.br\/?p=14","title":{"rendered":"ORACLE &#8211; Formata\u00e7\u00e3o de Data na query"},"content":{"rendered":"<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"200\" src=\"http:\/\/escovadordebit.web6203.kinghost.net\/wp-content\/uploads\/2016\/08\/Oracle_Database-212x300.jpg\" width=\"141\" \/><\/a><\/div>\n<p><code><\/p>\n<p>TO_CHAR(SYSDATE,'DD\/MM\/YYYY')<br \/><b>Resultado:<\/b> 21\/08\/2014<\/p>\n<p>  TO_CHAR(SYSDATE, 'DD','NLS_DATE_LANGUAGE=PORTUGUESE') AS DIACORRENTE,<br \/>UPPER(      TO_CHAR(SYSDATE, 'fmMonth','NLS_DATE_LANGUAGE=PORTUGUESE')) AS MESCORRENTE,<br \/>TO_CHAR(SYSDATE, 'yyyy','NLS_DATE_LANGUAGE=PORTUGUESE') AS ANOCORRENTE<\/p>\n<p><b>Resultado:<\/b> 21 AGOSTO 2014<\/p>\n<p>trunc(TO_DATE(SYSDATE,'DD\/MM\/YYYY')) <br \/><b>Resultado:<\/b> 21\/08\/14<\/p>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TO_CHAR(SYSDATE,&#8217;DD\/MM\/YYYY&#8217;)Resultado: 21\/08\/2014 TO_CHAR(SYSDATE, &#8216;DD&#8217;,&#8217;NLS_DATE_LANGUAGE=PORTUGUESE&#8217;) AS DIACORRENTE,UPPER( TO_CHAR(SYSDATE, &#8216;fmMonth&#8217;,&#8217;NLS_DATE_LANGUAGE=PORTUGUESE&#8217;)) AS MESCORRENTE,TO_CHAR(SYSDATE, &#8216;yyyy&#8217;,&#8217;NLS_DATE_LANGUAGE=PORTUGUESE&#8217;) AS ANOCORRENTE Resultado: 21 AGOSTO 2014 trunc(TO_DATE(SYSDATE,&#8217;DD\/MM\/YYYY&#8217;)) Resultado: 21\/08\/14<\/p>\n","protected":false},"author":2,"featured_media":128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[15,47],"class_list":["post-14","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codebit","tag-banco-de-dados","tag-oracle"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ORACLE - Formata\u00e7\u00e3o de Data na query - Escovador de Bit<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/escovadordebit.com.br\/?p=14\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ORACLE - Formata\u00e7\u00e3o de Data na query - Escovador de Bit\" \/>\n<meta property=\"og:description\" content=\"TO_CHAR(SYSDATE,&#039;DD\/MM\/YYYY&#039;)Resultado: 21\/08\/2014 TO_CHAR(SYSDATE, &#039;DD&#039;,&#039;NLS_DATE_LANGUAGE=PORTUGUESE&#039;) AS DIACORRENTE,UPPER( TO_CHAR(SYSDATE, &#039;fmMonth&#039;,&#039;NLS_DATE_LANGUAGE=PORTUGUESE&#039;)) AS MESCORRENTE,TO_CHAR(SYSDATE, &#039;yyyy&#039;,&#039;NLS_DATE_LANGUAGE=PORTUGUESE&#039;) AS ANOCORRENTE Resultado: 21 AGOSTO 2014 trunc(TO_DATE(SYSDATE,&#039;DD\/MM\/YYYY&#039;)) Resultado: 21\/08\/14\" \/>\n<meta property=\"og:url\" content=\"https:\/\/escovadordebit.com.br\/?p=14\" \/>\n<meta property=\"og:site_name\" content=\"Escovador de Bit\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-21T23:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"216\" \/>\n\t<meta property=\"og:image:height\" content=\"305\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Martin Muller martin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Martin Muller martin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14#article\",\"isPartOf\":{\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14\"},\"author\":{\"name\":\"Martin Muller martin\",\"@id\":\"https:\/\/escovadordebit.com.br\/#\/schema\/person\/3a14e341de3660629f9c1e39dfe6d653\"},\"headline\":\"ORACLE &#8211; Formata\u00e7\u00e3o de Data na query\",\"datePublished\":\"2016-08-21T23:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14\"},\"wordCount\":8,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/escovadordebit.com.br\/#organization\"},\"image\":{\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14#primaryimage\"},\"thumbnailUrl\":\"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg\",\"keywords\":[\"Banco de dados\",\"Oracle\"],\"articleSection\":[\"CodeBit\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/escovadordebit.com.br\/?p=14#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14\",\"url\":\"https:\/\/escovadordebit.com.br\/?p=14\",\"name\":\"ORACLE - Formata\u00e7\u00e3o de Data na query - Escovador de Bit\",\"isPartOf\":{\"@id\":\"https:\/\/escovadordebit.com.br\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14#primaryimage\"},\"image\":{\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14#primaryimage\"},\"thumbnailUrl\":\"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg\",\"datePublished\":\"2016-08-21T23:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/escovadordebit.com.br\/?p=14\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14#primaryimage\",\"url\":\"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg\",\"contentUrl\":\"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg\",\"width\":216,\"height\":305},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/escovadordebit.com.br\/?p=14#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/escovadordebit.com.br\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ORACLE &#8211; Formata\u00e7\u00e3o de Data na query\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/escovadordebit.com.br\/#website\",\"url\":\"https:\/\/escovadordebit.com.br\/\",\"name\":\"Escovador de Bit\",\"description\":\"Escove escove at\u00e9 achar o problema\",\"publisher\":{\"@id\":\"https:\/\/escovadordebit.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/escovadordebit.com.br\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/escovadordebit.com.br\/#organization\",\"name\":\"Escovador de Bit\",\"url\":\"https:\/\/escovadordebit.com.br\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/escovadordebit.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2017\/11\/cropped-cropped-escovadordebit-2.png\",\"contentUrl\":\"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2017\/11\/cropped-cropped-escovadordebit-2.png\",\"width\":99,\"height\":75,\"caption\":\"Escovador de Bit\"},\"image\":{\"@id\":\"https:\/\/escovadordebit.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/escovadordebit.com.br\/#\/schema\/person\/3a14e341de3660629f9c1e39dfe6d653\",\"name\":\"Martin Muller martin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/escovadordebit.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Martin Muller martin\"},\"url\":\"https:\/\/escovadordebit.com.br\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ORACLE - Formata\u00e7\u00e3o de Data na query - Escovador de Bit","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/escovadordebit.com.br\/?p=14","og_locale":"pt_BR","og_type":"article","og_title":"ORACLE - Formata\u00e7\u00e3o de Data na query - Escovador de Bit","og_description":"TO_CHAR(SYSDATE,'DD\/MM\/YYYY')Resultado: 21\/08\/2014 TO_CHAR(SYSDATE, 'DD','NLS_DATE_LANGUAGE=PORTUGUESE') AS DIACORRENTE,UPPER( TO_CHAR(SYSDATE, 'fmMonth','NLS_DATE_LANGUAGE=PORTUGUESE')) AS MESCORRENTE,TO_CHAR(SYSDATE, 'yyyy','NLS_DATE_LANGUAGE=PORTUGUESE') AS ANOCORRENTE Resultado: 21 AGOSTO 2014 trunc(TO_DATE(SYSDATE,'DD\/MM\/YYYY')) Resultado: 21\/08\/14","og_url":"https:\/\/escovadordebit.com.br\/?p=14","og_site_name":"Escovador de Bit","article_published_time":"2016-08-21T23:00:00+00:00","og_image":[{"width":216,"height":305,"url":"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg","type":"image\/jpeg"}],"author":"Martin Muller martin","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Martin Muller martin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/escovadordebit.com.br\/?p=14#article","isPartOf":{"@id":"https:\/\/escovadordebit.com.br\/?p=14"},"author":{"name":"Martin Muller martin","@id":"https:\/\/escovadordebit.com.br\/#\/schema\/person\/3a14e341de3660629f9c1e39dfe6d653"},"headline":"ORACLE &#8211; Formata\u00e7\u00e3o de Data na query","datePublished":"2016-08-21T23:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/escovadordebit.com.br\/?p=14"},"wordCount":8,"commentCount":0,"publisher":{"@id":"https:\/\/escovadordebit.com.br\/#organization"},"image":{"@id":"https:\/\/escovadordebit.com.br\/?p=14#primaryimage"},"thumbnailUrl":"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg","keywords":["Banco de dados","Oracle"],"articleSection":["CodeBit"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/escovadordebit.com.br\/?p=14#respond"]}]},{"@type":"WebPage","@id":"https:\/\/escovadordebit.com.br\/?p=14","url":"https:\/\/escovadordebit.com.br\/?p=14","name":"ORACLE - Formata\u00e7\u00e3o de Data na query - Escovador de Bit","isPartOf":{"@id":"https:\/\/escovadordebit.com.br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/escovadordebit.com.br\/?p=14#primaryimage"},"image":{"@id":"https:\/\/escovadordebit.com.br\/?p=14#primaryimage"},"thumbnailUrl":"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg","datePublished":"2016-08-21T23:00:00+00:00","breadcrumb":{"@id":"https:\/\/escovadordebit.com.br\/?p=14#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/escovadordebit.com.br\/?p=14"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/escovadordebit.com.br\/?p=14#primaryimage","url":"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg","contentUrl":"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2016\/08\/Oracle_Database.jpg","width":216,"height":305},{"@type":"BreadcrumbList","@id":"https:\/\/escovadordebit.com.br\/?p=14#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/escovadordebit.com.br\/"},{"@type":"ListItem","position":2,"name":"ORACLE &#8211; Formata\u00e7\u00e3o de Data na query"}]},{"@type":"WebSite","@id":"https:\/\/escovadordebit.com.br\/#website","url":"https:\/\/escovadordebit.com.br\/","name":"Escovador de Bit","description":"Escove escove at\u00e9 achar o problema","publisher":{"@id":"https:\/\/escovadordebit.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/escovadordebit.com.br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/escovadordebit.com.br\/#organization","name":"Escovador de Bit","url":"https:\/\/escovadordebit.com.br\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/escovadordebit.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2017\/11\/cropped-cropped-escovadordebit-2.png","contentUrl":"https:\/\/escovadordebit.com.br\/wp-content\/uploads\/2017\/11\/cropped-cropped-escovadordebit-2.png","width":99,"height":75,"caption":"Escovador de Bit"},"image":{"@id":"https:\/\/escovadordebit.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/escovadordebit.com.br\/#\/schema\/person\/3a14e341de3660629f9c1e39dfe6d653","name":"Martin Muller martin","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/escovadordebit.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Martin Muller martin"},"url":"https:\/\/escovadordebit.com.br\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":0,"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=\/wp\/v2\/media\/128"}],"wp:attachment":[{"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/escovadordebit.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}