<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tilfin</author_name>
  <author_url>https://blog.hatena.ne.jp/tilfin/</author_url>
  <blog_title>tilfin's note 跡地</blog_title>
  <blog_url>https://tilfin.hatenablog.com/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>フィールドを Unique にする方法 mysql&gt; alter table 対象テーブル add unique (対象フィールド); 作業ログ（フィールドサイズが 999 バイトを超えていたら） 今回 support テーブルの uri フィールドをユニーク化しようとしたが、 mysql&gt; alter table support add unique (uri); ERROR 1071 (42000): Specified key was too long; max key length is 999 bytesとなってしまった。定義を調べると、 mysql&gt; show fields fro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftilfin.hatenablog.com%2Fentry%2F20080209%2F1202544867&quot; title=&quot; MySQL で後からユニークインデックスを追加するには - tilfin&amp;#39;s note 跡地&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>2008-02-09 17:14:27</published>
  <title> MySQL で後からユニークインデックスを追加するには</title>
  <type>rich</type>
  <url>https://tilfin.hatenablog.com/entry/20080209/1202544867</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
