<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuji_ueda</author_name>
  <author_url>https://blog.hatena.ne.jp/yuji_ueda/</author_url>
  <blog_title>はい！今やってます！</blog_title>
  <blog_url>https://yuji-ueda.hatenadiary.jp/</blog_url>
  <categories>
    <anon>SQL</anon>
    <anon>DB</anon>
    <anon>MySQL</anon>
  </categories>
  <description>MySQLでKey Duplicateのエラーが出る場合、 INSERT ... ON DUPLICATE KEY UPDATE の構文を使えば解消出来る場合がある。 INSERT INTO ${table_name} (a, b, c) VALUES (1, 12, 123) ON DUPLICATE KEY UPDATE b = 22, c = 223; 参考 https://dev.mysql.com/doc/refman/5.6/ja/insert-on-duplicate.html</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuji-ueda.hatenadiary.jp%2Fentry%2F2017%2F10%2F12%2F105809&quot; title=&quot;Duplicateエラーが出る場合の対処法 - はい！今やってます！&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-10-12 10:58:09</published>
  <title>Duplicateエラーが出る場合の対処法</title>
  <type>rich</type>
  <url>https://yuji-ueda.hatenadiary.jp/entry/2017/10/12/105809</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
