<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL アンチパターン</anon>
  </categories>
  <description>■ はじめに Wise men learn by others men's mistakes; fools by their own. https://dk521123.hatenablog.com/entry/2016/07/02/212547 の続き。 今回は、「31 Flavors（31のフレーバー）」 ■ 問題点 * テーブルの列の値を特定したい場合、Check制約などで限定する =&gt; 変更した場合、変更 / 移植が困難。 使用してもいい場合 * 変更する事がない場合(ON/OFF, 有効/無効, 男性/女性など) ■ 解決策 * 特定の値を別テーブルで定義する # んー。特定の値が多…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2016%2F06%2F24%2F223000&quot; title=&quot;【SQL】 SQL アンチパターン ～ 31 Flavors（31のフレーバー） ～ - プログラム の超個人的なメモ&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>2016-06-24 22:30:00</published>
  <title>【SQL】 SQL アンチパターン ～ 31 Flavors（31のフレーバー） ～</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/2016/06/24/223000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
