<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>savakan</author_name>
  <author_url>https://blog.hatena.ne.jp/savakan/</author_url>
  <blog_title>しょぼんメモリ （´・ω・｀）</blog_title>
  <blog_url>https://shobon.hatenablog.com/</blog_url>
  <categories>
    <anon>MySQL</anon>
    <anon>SQLite</anon>
    <anon>PostgreSQL</anon>
    <anon>SQL</anon>
  </categories>
  <description>SQLの可読性が下がる上にバグになりやすいけど、こんな事もできるという程度のメモ。 PostgreSQLの場合、テーブル名やカラム名で予約語を使うには、ダブルクォートで囲う。 文字列にダブルクォートが入っている場合は、重ねてエスケープする。 psql=&gt; CREATE TABLE &quot;table&quot; (&quot;select&quot; integer, &quot;*&quot; text, &quot;quo&quot;&quot;te&quot; text); psql=&gt; \d table テーブル &quot;public.table&quot; カラム | 型 | 修飾語 --------+---------+-------- select | integer | * | text…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshobon.hatenablog.com%2Fentry%2F2014%2F03%2F16%2F142256&quot; title=&quot;テーブル名やカラム名にSQLの予約語を使う方法 - しょぼんメモリ （´・ω・｀）&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>2014-03-16 14:22:56</published>
  <title>テーブル名やカラム名にSQLの予約語を使う方法</title>
  <type>rich</type>
  <url>https://shobon.hatenablog.com/entry/2014/03/16/142256</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
