<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kowill</author_name>
  <author_url>https://blog.hatena.ne.jp/kowill/</author_url>
  <blog_title>ぽにょろん</blog_title>
  <blog_url>https://ponyoth.hateblo.jp/</blog_url>
  <categories>
    <anon>SQL</anon>
    <anon>C#</anon>
    <anon>SQLServer</anon>
  </categories>
  <description>OUTPUT句って結構便利だと思っているんですが、そうそう使わないこともあってなかなか覚えられないorz そんなわけでサンプルを書いてみました。 まずは書き方 何はともあれ、MSDN参照しましょう。 OUTPUT 句 (Transact-SQL) SQLServer2005から使えるようです。 insert into [table] output inserted.* values ( 'hoge' ) update [table] set [colName] = 'po' output deleted.*, inserted.* where [colName] = 'aiueo' delet…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fponyoth.hateblo.jp%2Fentry%2F2015%2F08%2F11%2F225055&quot; title=&quot;T-SQLでOUTPUT句を使う - ぽにょろん&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>http://cdn-ak.f.st-hatena.com/images/fotolife/k/kowill/20150811/20150811224721.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-11 22:50:55</published>
  <title>T-SQLでOUTPUT句を使う</title>
  <type>rich</type>
  <url>https://ponyoth.hateblo.jp/entry/2015/08/11/225055</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
