<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanabusa-snow</author_name>
  <author_url>https://blog.hatena.ne.jp/hanabusa-snow/</author_url>
  <blog_title>プログラ生活</blog_title>
  <blog_url>https://www.pon-x.jp/</blog_url>
  <categories>
    <anon>SQL</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>www.pon-x.jp 前回の続き 今回は、条件分岐を目的とするCASE式を紹介します。 CASE式 CASE式は、もしデータが、〇〇だったら××、△△だったら□□みたいなかんじに読み替えてあげることを目的とします。 便利なのは、SELECT文をはじめ、UPDATE、DELETE、INSERTなどででも使え、さらにSELECT句、WHERE句、ORDER句、などなどスカラであらわされる部分なら大抵は使えるのが特徴です。 文法はこんな感じ CASE WHEN [比較元データ] = [比較データ] THEN [出力したいデータ] WHEN [元データ] = [比較データ] THEN [出力したい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pon-x.jp%2Fentry%2F2020%2F12%2F02%2F101932&quot; title=&quot;【SQL Server(連載)】CASE式 -17- - プログラ生活&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hanabusa-snow/20201202/20201202101211.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-02 10:19:32</published>
  <title>【SQL Server(連載)】CASE式 -17-</title>
  <type>rich</type>
  <url>https://www.pon-x.jp/entry/2020/12/02/101932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
