<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>boss_sato</author_name>
  <author_url>https://blog.hatena.ne.jp/boss_sato/</author_url>
  <blog_title>初めてのシステムと日記</blog_title>
  <blog_url>https://bosssato.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>・DECODESQLの中でIF文のような条件式を使うのに利用。他にCASE WHENがある。 select lastname, decode(sex,'1','男','2','女','不明') from employees) これだと、列｢sex｣に対し、 ・1 → 男 ・2 → 女 ・それ以外 → 不明を表示する。 ・CONCATSQLの中で2つの文字列を結合する。 select concat('ABC','DEF') from dual 文字列 ｢ABC｣ ｢DEF｣を結合。結果は'ABCDEF'になる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbosssato.hatenablog.com%2Fentry%2F20091014%2F1247026802&quot; title=&quot;Oracle:DECODEとCONCAT - 初めてのシステムと日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-10-14 13:20:02</published>
  <title>Oracle:DECODEとCONCAT</title>
  <type>rich</type>
  <url>https://bosssato.hatenablog.com/entry/20091014/1247026802</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
