<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kishi</author_name>
  <author_url>https://blog.hatena.ne.jp/Kishi/</author_url>
  <blog_title>public static void main</blog_title>
  <blog_url>https://kishi.hatenadiary.org/</blog_url>
  <categories>
    <anon>MySQL</anon>
    <anon>SQLite</anon>
    <anon>メモ</anon>
  </categories>
  <description>とあるWebアプリケーションを正月休みの間開発していたのですが、諸般の事情により最初に使っていたMySQLからSQLiteに切り替えることになりました。 その際に、いくつかSQLを変更する必要があったので、SQLiteとMySQLで使える文の違いをメモしておきます。 CREATE TABLE文 AUTO_INCREMENT IDなどでよく使うAUTO_INCREMENTですが、SQLiteではこれを付けると構文エラーになります。 では、どのようにAUTO_INCREMENTを実現するかというと、 CREATE TABLE hoge( id integer PRIMARY KEY ); というi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkishi.hatenadiary.org%2Fentry%2F20080107%2F1199702316&quot; title=&quot;MySQLで使えてSQLiteで使えないSQL文 - public static void main&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-01-07 19:38:36</published>
  <title>MySQLで使えてSQLiteで使えないSQL文</title>
  <type>rich</type>
  <url>https://kishi.hatenadiary.org/entry/20080107/1199702316</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
