<?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 Serverで前々からOracleみたいに@sqlファイル名でSQLファイルを実行できないかと思っておりました。 以前簡単に調べたときは見つけられなかったのですが、今回またほしい機会があって調べたらありました！ 以下のとおりにやればできました。同じようにお困りの方はお試しあれ。 1.SQLServer Management Studioで新しいクエリを開く 2.クエリメニューのSQLCMDモードを選択 3.クエリとして以下のように記述。:rをつけてスペースあけてファイル名を書く :r c:\work\xxxx.sql :r c:\work\xxxx2.sql :r c:\work\xx…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffinal.hateblo.jp%2Fentry%2F2019%2F06%2F29%2F123200&quot; title=&quot;SQL ServerでOracleみたいに@ファイル名で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>2019-06-29 12:32:00</published>
  <title>SQL ServerでOracleみたいに@ファイル名でSQLを実行する方法。</title>
  <type>rich</type>
  <url>https://final.hateblo.jp/entry/2019/06/29/123200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
