<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koogucc11</author_name>
  <author_url>https://blog.hatena.ne.jp/koogucc11/</author_url>
  <blog_title>都内で働くSEの技術的なひとりごと / Technical soliloquy of System Engineer working in Tokyo</blog_title>
  <blog_url>https://ryuchan.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL Server</anon>
    <anon>SQL Server 2012</anon>
    <anon>SQL Server 2014</anon>
  </categories>
  <description>dmv とかで調査クエリを実行しているときに、『他にどんな列あったっけ？』ということがよくあります。(いつも使用している dmv でさえ、すぐ忘れますww) その時に便利なのが、sys.dm_exec_describe_first_result_set (Transact-SQL) です。この動的管理関数は、ステートメントの最初の結果セットのメタデータを返却してくれます。早速実行してみましょう。 SELECT * FROM sys.dm_exec_describe_first_result_set( N'SELECT * FROM sys.dm_os_memory_objects', NULL…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryuchan.hatenablog.com%2Fentry%2F2015%2F08%2F31%2F154217&quot; title=&quot;発行する SQL の列とか、その長さとか、もろもろのメタデータを取得してみる - 都内で働くSEの技術的なひとりごと / Technical soliloquy of System Engineer working in Tokyo&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/koogucc11/20150831/20150831122734.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-31 15:42:17</published>
  <title>発行する SQL の列とか、その長さとか、もろもろのメタデータを取得してみる</title>
  <type>rich</type>
  <url>https://ryuchan.hatenablog.com/entry/2015/08/31/154217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
