<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>finalstream</author_name>
  <author_url>https://blog.hatena.ne.jp/finalstream/</author_url>
  <blog_title>Code for final</blog_title>
  <blog_url>https://final.hateblo.jp/</blog_url>
  <categories>
    <anon>SQL Server</anon>
  </categories>
  <description>SQLでselectしたデータをinsert文として出力したいときがあると思います。 初期データとしていれたデータを構築時にSQL流すだけで構築できるようにしたい場合とかです。 OracleのSQL Developerの感覚でManagement Studioでエクスポートしようとしたらできないところから始まりました。 Oracleだと結果をエクスポートって簡単にできます。結果のグリッドでエクスポートを選んでクリップボードにinsert文を出力するとか朝飯前です。 そんな感じでOracleに慣れていたのでManagement Studioで結果のグリッドを選んでもファイル出力しかできません。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffinal.hateblo.jp%2Fentry%2F2017%2F02%2F27%2F225449&quot; title=&quot;SQL Serverでselectした結果のデータをinsert文としてSQLでエクスポートする方法。 - Code for final&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>2017-02-27 22:54:49</published>
  <title>SQL Serverでselectした結果のデータをinsert文としてSQLでエクスポートする方法。</title>
  <type>rich</type>
  <url>https://final.hateblo.jp/entry/2017/02/27/225449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
