<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>sqlite3</anon>
  </categories>
  <description>sqlite3って if exists 対応してた 存在するときにテーブルを消す if exists でテーブルがあるときに、消して作り直せる DROP TABLE IF EXISTS TableName 存在しないときにテーブルを作る テーブルがまだ無いときだけ作る。 CREATE TABLE if exists {table} (...) インデックスも同じ インデックスも同じくif exists処理ができる。 DROP INDEX if exists {name} CREATE INDEX if not exists {name} 便利ですね。 sqlite3で if exists を使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2023%2F07%2F11%2F191950&quot; title=&quot;SQLite3でテーブルが存在するか調べてCREATE table if not exists - それマグで！&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/takuya_1st/20230711/20230711191637.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-11 19:19:50</published>
  <title>SQLite3でテーブルが存在するか調べてCREATE table if not exists</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2023/07/11/191950</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
