<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kenpoco</author_name>
  <author_url>https://blog.hatena.ne.jp/kenpoco/</author_url>
  <blog_title>on the center line.</blog_title>
  <blog_url>https://kenpoco.hatenadiary.org/</blog_url>
  <categories>
    <anon>SQL</anon>
  </categories>
  <description>一時的にデータを退避しておくときに、SELECTした結果をそのままワークテーブルにぶちこみたくて調べてみたら、結構簡単にできるんですね。複数のデータベースに対応したかったので、各データベースについて調べてみたところ、大体同じようなSQLでできるみたいでした。 [MySQL] create table table_name (select * from other_table) [Oracle] create table table_name as select * from other_table [SQLServer] select * into table_name from other_…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenpoco.hatenadiary.org%2Fentry%2F20080324%2F1206327055&quot; title=&quot; SELECTした結果を使って、CREATE TABLEする - on the center line.&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-03-24 11:50:55</published>
  <title> SELECTした結果を使って、CREATE TABLEする</title>
  <type>rich</type>
  <url>https://kenpoco.hatenadiary.org/entry/20080324/1206327055</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
