<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iad_otomamay</author_name>
  <author_url>https://blog.hatena.ne.jp/iad_otomamay/</author_url>
  <blog_title>レベルエンター山本大のブログ</blog_title>
  <blog_url>https://daiyamamoto.hatenablog.com/</blog_url>
  <categories>
    <anon>SQLServer2005</anon>
  </categories>
  <description>SQLServerのトリガーを作ったので、テンプレートとしてあげときます。target_table （トリガ設定テーブル） カラム 型 col_1 int identity col_2 nvarchar(50) trgger_ins_data（トリガ実行結果登録テーブル） カラム 型 ID int identity Msg nvarchar(50) トリガのテンプレートクエリ CREATE TRIGGER [my_trigger] ON [target_table] AFTER INSERT,DELETE,UPDATE AS BEGIN --トリガ内で処理された行数を示すメッセージが結果セット…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaiyamamoto.hatenablog.com%2Fentry%2F20080430%2Fp1&quot; title=&quot;トリガのテンプレート - レベルエンター山本大のブログ&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-04-30 00:00:00</published>
  <title>トリガのテンプレート</title>
  <type>rich</type>
  <url>https://daiyamamoto.hatenablog.com/entry/20080430/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
