<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiroga_cc</author_name>
  <author_url>https://blog.hatena.ne.jp/hiroga_cc/</author_url>
  <blog_title>さわらブログ</blog_title>
  <blog_url>https://hiroga.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>SQLのMERGE句で、対象のテーブルと比較するデータソースをプログラムの変数として渡す場合って、USING句の中身が不要になると思います。 例：任意の従業員の給料を30万円にする。その従業員が見つからない場合、新たにレコードを追加する。 MERGE EMPLOYEEUSING (不要)ON EMP_ID = ?WHEN MATCHED THEN UPDATE SET EMP_SALARY = '300000'WHEN NOT MATCHED THEN INSERT (EMP_ID, EMP_SALARY) VALUES (?, '300000') こうした場合の書き方を先輩から習ったので備忘…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiroga.hatenablog.com%2Fentry%2F2017%2F08%2F24%2F230303&quot; title=&quot;【備忘録】DB2における「表の参照が必要なんだけど内容はどうでもいい」の書き方 - さわらブログ&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>2017-08-24 23:03:03</published>
  <title>【備忘録】DB2における「表の参照が必要なんだけど内容はどうでもいい」の書き方</title>
  <type>rich</type>
  <url>https://hiroga.hatenablog.com/entry/2017/08/24/230303</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
