<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toshifumi_tegu</author_name>
  <author_url>https://blog.hatena.ne.jp/toshifumi_tegu/</author_url>
  <blog_title>teguのTech Blog</blog_title>
  <blog_url>https://toshifumi-tegu.hatenadiary.org/</blog_url>
  <categories>
    <anon>mysql</anon>
  </categories>
  <description>子テーブルが管理テーブルにforeign key制約をはっていて、管理テーブルには、 子テーブルからforeign keyが張られている、キーのレコードが複数存在する場合、 InnoDBではその一つレコードのキーが存在する場合でも外部キー制約違反が起こる。http://dev.mysql.com/doc/refman/5.1/ja/innodb-foreign-key-constraints.html SQL スタンダードからの逸脱:InnoDB は同じ参照キー値を持つ親テーブル内にいくつかの行があると、外部キーチェック内で同じキー値を持つ別の親行がまるで存在しないかのように機能します。例えば…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoshifumi-tegu.hatenadiary.org%2Fentry%2F20091030%2F1256927591&quot; title=&quot;foreign key制約 - teguのTech Blog&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-30 03:33:11</published>
  <title>foreign key制約</title>
  <type>rich</type>
  <url>https://toshifumi-tegu.hatenadiary.org/entry/20091030/1256927591</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
