<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>The King Of D</title>
    <link>https://theking.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Sat, 30 May 2026 15:21:59 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>theking</managingEditor>
    <image>
      <title>The King Of D</title>
      <url>https://t1.daumcdn.net/cfile/tistory/1837380F4BF1410E87</url>
      <link>https://theking.tistory.com</link>
    </image>
    <item>
      <title>xp_cmdshell  및 서버 구성 옵션</title>
      <link>https://theking.tistory.com/371</link>
      <description>&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:green; font-family:Tahoma; font-size:10pt&quot;&gt;-- To allow advanced options to be changed.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Tahoma; font-size:10pt&quot;&gt;&lt;span style=&quot;color:blue&quot;&gt;EXEC&lt;/span&gt;
			&lt;span style=&quot;color:maroon&quot;&gt;sp_configure&lt;span style=&quot;color:blue&quot;&gt;
					&lt;span style=&quot;color:red&quot;&gt;'show advanced options'&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color:gray&quot;&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Tahoma; font-size:10pt&quot;&gt;GO
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:green; font-family:Tahoma; font-size:10pt&quot;&gt;-- To update the currently configured value for advanced options.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Tahoma; font-size:10pt&quot;&gt;RECONFIGURE&lt;span style=&quot;color:gray&quot;&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Tahoma; font-size:10pt&quot;&gt;GO
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:green; font-family:Tahoma; font-size:10pt&quot;&gt;-- To enable the feature.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Tahoma; font-size:10pt&quot;&gt;&lt;span style=&quot;color:blue&quot;&gt;EXEC&lt;/span&gt;
			&lt;span style=&quot;color:maroon&quot;&gt;sp_configure&lt;span style=&quot;color:blue&quot;&gt;
					&lt;span style=&quot;color:red&quot;&gt;'xp_cmdshell'&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color:gray&quot;&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Tahoma; font-size:10pt&quot;&gt;GO
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:green; font-family:Tahoma; font-size:10pt&quot;&gt;-- To update the currently configured value for this feature.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Tahoma; font-size:10pt&quot;&gt;RECONFIGURE&lt;span style=&quot;color:gray&quot;&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Tahoma; font-size:10pt&quot;&gt;GO
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Tahoma; font-size:10pt&quot;&gt;&lt;span style=&quot;color:blue&quot;&gt;exec&lt;/span&gt;
			&lt;span style=&quot;color:maroon&quot;&gt;xp_cmdshell&lt;span style=&quot;color:blue&quot;&gt;
					&lt;span style=&quot;color:red&quot;&gt;'dir H:\'&lt;span style=&quot;color:blue&quot;&gt;
						&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <category>Laboratory/MSSQL</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/371</guid>
      <comments>https://theking.tistory.com/371#entry371comment</comments>
      <pubDate>Fri, 13 Jun 2014 11:45:04 +0900</pubDate>
    </item>
    <item>
      <title>Plan 캐쉬에 저장 된 쿼리 확인</title>
      <link>https://theking.tistory.com/370</link>
      <description>&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New; font-size:10pt&quot;&gt;&lt;span style=&quot;color:blue&quot;&gt;SELECT&lt;/span&gt;
			&lt;span style=&quot;color:teal&quot;&gt;usecounts&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; cacheobjtype&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; objtype&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; [text]&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; t&lt;span style=&quot;color:gray&quot;&gt;.&lt;span style=&quot;color:teal&quot;&gt;objectid
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New; font-size:10pt&quot;&gt;&lt;span style=&quot;color:blue&quot;&gt;FROM&lt;/span&gt;
			&lt;span style=&quot;color:lime&quot;&gt;sys&lt;span style=&quot;color:gray&quot;&gt;.&lt;span style=&quot;color:lime&quot;&gt;dm_exec_cached_plans&lt;/span&gt;
					&lt;span style=&quot;color:teal&quot;&gt;P
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New; font-size:10pt&quot;&gt;    &lt;span style=&quot;color:gray&quot;&gt;CROSS&lt;/span&gt;
			&lt;span style=&quot;color:gray&quot;&gt;APPLY&lt;/span&gt;
			&lt;span style=&quot;color:lime&quot;&gt;sys&lt;span style=&quot;color:gray&quot;&gt;.&lt;span style=&quot;color:lime&quot;&gt;dm_exec_sql_text&lt;span style=&quot;color:blue&quot;&gt;
							&lt;span style=&quot;color:gray&quot;&gt;(&lt;span style=&quot;color:teal&quot;&gt;plan_handle&lt;span style=&quot;color:gray&quot;&gt;)&lt;/span&gt; T
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New; font-size:10pt&quot;&gt;&lt;span style=&quot;color:blue&quot;&gt;WHERE&lt;/span&gt;
			&lt;span style=&quot;color:teal&quot;&gt;cacheobjtype&lt;/span&gt;
			&lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt;
			&lt;span style=&quot;color:red&quot;&gt;'Compiled Plan'
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New; font-size:10pt&quot;&gt;    &lt;span style=&quot;color:gray&quot;&gt;AND&lt;/span&gt;
			&lt;span style=&quot;color:teal&quot;&gt;[text]&lt;/span&gt;
			&lt;span style=&quot;color:gray&quot;&gt;NOT&lt;/span&gt;
			&lt;span style=&quot;color:gray&quot;&gt;LIKE&lt;/span&gt;
			&lt;span style=&quot;color:red&quot;&gt;'%dm_exec_cached_plans%'&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New; font-size:10pt&quot;&gt;    &lt;span style=&quot;color:gray&quot;&gt;AND&lt;/span&gt;
			&lt;span style=&quot;color:teal&quot;&gt;objtype&lt;span style=&quot;color:gray&quot;&gt;=&lt;span style=&quot;color:red&quot;&gt;'Proc'&lt;/span&gt; and&lt;/span&gt; [text]&lt;/span&gt;
			&lt;span style=&quot;color:gray&quot;&gt;like&lt;/span&gt;
			&lt;span style=&quot;color:red&quot;&gt;'%upInsertComparatorResult%'&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <category>Laboratory/MSSQL</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/370</guid>
      <comments>https://theking.tistory.com/370#entry370comment</comments>
      <pubDate>Thu, 12 Jun 2014 18:36:48 +0900</pubDate>
    </item>
    <item>
      <title>Tempdb 파일이동</title>
      <link>https://theking.tistory.com/368</link>
      <description>&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;ALTER&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:blue&quot;&gt;DATABASE&lt;span style=&quot;color:black&quot;&gt;
						&lt;span style=&quot;color:teal&quot;&gt;tempdb&lt;span style=&quot;color:black&quot;&gt;
							&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;MODIFY&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:blue&quot;&gt;FILE&lt;span style=&quot;color:black&quot;&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:gray; font-family:Courier New; font-size:10pt&quot;&gt;(&lt;span style=&quot;color:teal&quot;&gt;NAME&lt;span style=&quot;color:black&quot;&gt;
					&lt;span style=&quot;color:gray&quot;&gt;=&lt;span style=&quot;color:black&quot;&gt;
							&lt;span style=&quot;color:teal&quot;&gt;tempdev&lt;span style=&quot;color:gray&quot;&gt;,&lt;span style=&quot;color:black&quot;&gt;
									&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;FILENAME&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:gray&quot;&gt;=&lt;span style=&quot;color:black&quot;&gt;
						&lt;span style=&quot;color:red&quot;&gt;'D:\DB_FILE\tempdb.mdf'&lt;span style=&quot;color:gray&quot;&gt;);&lt;span style=&quot;color:black&quot;&gt;
								&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;GO
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;ALTER&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:blue&quot;&gt;DATABASE&lt;span style=&quot;color:black&quot;&gt;
						&lt;span style=&quot;color:teal&quot;&gt;tempdb&lt;span style=&quot;color:black&quot;&gt;
							&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;MODIFY&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:blue&quot;&gt;FILE&lt;span style=&quot;color:black&quot;&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:gray; font-family:Courier New; font-size:10pt&quot;&gt;(&lt;span style=&quot;color:teal&quot;&gt;NAME&lt;span style=&quot;color:black&quot;&gt;
					&lt;span style=&quot;color:gray&quot;&gt;=&lt;span style=&quot;color:black&quot;&gt;
							&lt;span style=&quot;color:teal&quot;&gt;templog&lt;span style=&quot;color:gray&quot;&gt;,&lt;span style=&quot;color:black&quot;&gt;
									&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;FILENAME&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:gray&quot;&gt;=&lt;span style=&quot;color:black&quot;&gt;
						&lt;span style=&quot;color:red&quot;&gt;'D:\DB_FILE\templog.ldf'&lt;span style=&quot;color:gray&quot;&gt;);&lt;span style=&quot;color:black&quot;&gt;
								&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;GO
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:blue; font-family:Courier New; font-size:10pt&quot;&gt;use&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:blue&quot;&gt;master&lt;span style=&quot;color:black&quot;&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:maroon; font-family:Courier New; font-size:10pt&quot;&gt;sp_helpfile&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:teal&quot;&gt;tempdev&lt;span style=&quot;color:black&quot;&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:maroon; font-family:Courier New; font-size:10pt&quot;&gt;sp_helpfile&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:teal&quot;&gt;templog&lt;span style=&quot;color:black&quot;&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:maroon; font-family:Courier New; font-size:10pt&quot;&gt;sp_helpdb&lt;span style=&quot;color:black&quot;&gt;
				&lt;span style=&quot;color:teal&quot;&gt;tempdb&lt;span style=&quot;color:black&quot;&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <category>Laboratory/MSSQL</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/368</guid>
      <comments>https://theking.tistory.com/368#entry368comment</comments>
      <pubDate>Thu, 12 Jun 2014 18:29:23 +0900</pubDate>
    </item>
    <item>
      <title>MSSQL 전체 DB Full Backup 스크립트</title>
      <link>https://theking.tistory.com/363</link>
      <description>&lt;p&gt;&lt;p&gt;&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;DECLARE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@DIRLIST&lt;/span&gt;
&lt;span style=&quot;color:blue&quot;&gt;TABLE&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;[OUTPUT]&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;1000&lt;span style=&quot;color:gray&quot;&gt;))&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:green&quot;&gt;--&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;
mso-hansi-font-family:&amp;quot;Courier New&amp;quot;;mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;삭제할백업디렉토리리스트테이블변수&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;INSERT&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:blue&quot;&gt;INTO&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color:teal&quot;&gt;@DIRLIST&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;EXEC&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:maroon&quot;&gt;XP_CMDSHELL&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'DIR
T:\DB_BACKUP\FULL_BACKUP\ /AD /B'&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:green&quot;&gt;--&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;
mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;mso-hansi-font-family:&amp;quot;Courier New&amp;quot;;
mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:
yes&quot;&gt;백업디렉토리경로하위에날짜별백업폴더리스트조회하여테이블변수에&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:
yes&quot;&gt;INSERT&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;DECLARE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@CMD&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;4000&lt;span style=&quot;color:gray&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;SET&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@CMD&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;''&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;DECLARE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@DIRNAME&lt;/span&gt;
&lt;span style=&quot;color:blue&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;100&lt;span style=&quot;color:gray&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;WHILE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:gray&quot;&gt;EXISTS&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span  style=&quot;;
font-family:&amp;quot;Courier New&amp;quot;;color:gray;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;(&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;@DIRLIST&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;WHERE&lt;/span&gt; &lt;span style=&quot;color:fuchsia&quot;&gt;LEN&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt;OUTPUT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;)=&lt;/span&gt;8 &lt;span style=&quot;color:gray&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;OUTPUT&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;LIKE&lt;/span&gt; &lt;span style=&quot;color:red&quot;&gt;'20%'&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;OUTPUT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt;NVARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;DATEADD&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;DD&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;-&lt;/span&gt;7&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:fuchsia&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;()),&lt;/span&gt;112&lt;span style=&quot;color:gray&quot;&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;BEGIN&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:green&quot;&gt;-- &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;
mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;mso-hansi-font-family:&amp;quot;Courier New&amp;quot;;
mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:
yes&quot;&gt;조건에맞는폴더명을조회&lt;/span&gt;&lt;span  style=&quot;;
font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;SELECT&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;TOP&lt;/span&gt; 1 &lt;span style=&quot;color:teal&quot;&gt;@DIRNAME&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;[OUTPUT]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;@DIRLIST&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;WHERE&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:fuchsia&quot;&gt;LEN&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt;OUTPUT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;)=&lt;/span&gt;8 &lt;span style=&quot;color:gray&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;OUTPUT&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;LIKE&lt;/span&gt; &lt;span style=&quot;color:red&quot;&gt;'20%'&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;OUTPUT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt;NVARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;DATEADD&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;DD&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;-&lt;/span&gt;7&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:fuchsia&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;()),&lt;/span&gt;112&lt;span style=&quot;color:gray&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:gray;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;SET&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;@CMD&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'RMDIR&amp;nbsp; T:\DB_BACKUP\FULL_BACKUP\'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;@DIRNAME&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;' /S /Q'&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;EXEC&lt;/span&gt; &lt;span style=&quot;color:lime&quot;&gt;SYS&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:maroon&quot;&gt;XP_CMDSHELL&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;@CMD&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color:green&quot;&gt;--CMDSHELL &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;mso-hansi-font-family:&amp;quot;Courier New&amp;quot;;
mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:
yes&quot;&gt;을이용하여대상폴더삭제&lt;/span&gt;&lt;span  style=&quot;;
font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;DELETE&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color:blue&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;@DIRLIST&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;WHERE&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:teal&quot;&gt;[OUTPUT]&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;@DIRNAME&lt;/span&gt; &lt;span style=&quot;color:green&quot;&gt;-- &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;
mso-hansi-font-family:&amp;quot;Courier New&amp;quot;;mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;삭제된폴더를테이블변수에서삭제&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;END&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;GO&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;DECLARE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@CMD2&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;4000&lt;span style=&quot;color:gray&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;SET&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@CMD2&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'MKDIR
T:\DB_BACKUP\FULL_BACKUP\'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt;NVARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(),&lt;/span&gt;112&lt;span style=&quot;color:gray&quot;&gt;)+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;''&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color:green&quot;&gt;-- &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;
mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;mso-hansi-font-family:&amp;quot;Courier New&amp;quot;;
mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:
yes&quot;&gt;오늘날짜백업디렉토리생성&lt;/span&gt;&lt;span  style=&quot;;
font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;EXEC&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:maroon&quot;&gt;XP_CMDSHELL&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;@CMD2&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;NO_OUTPUT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:gray;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;DECLARE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@QUERY&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;NVARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;MAX&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;SET&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;@QUERY&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;N''&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:red;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;--&lt;/span&gt;&lt;span style=&quot;;mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;
mso-hansi-font-family:&amp;quot;Courier New&amp;quot;;mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;전체데이터베이스리스트를조회하여백업쿼리문생성&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;SELECT&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:teal;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;@QUERY&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:gray&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;@QUERY&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;N'BACKUP DATABASE '&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;' TO DISK=''T:\DB_BACKUP\FULL_BACKUP\'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt;NVARCHAR&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:fuchsia&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(),&lt;/span&gt;112&lt;span style=&quot;color:gray&quot;&gt;)+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'\'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'_DATA.BAK'' WITH INIT&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:red;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;BACKUP LOG '&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:gray;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;+&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:teal;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;NAME&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:gray;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;+&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:red;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;' TO DISK = ''T:\DB_BACKUP\FULL_BACKUP\'&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:gray;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;+&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:fuchsia;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;CONVERT&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:gray;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;(&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:blue;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;NVARCHAR&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:gray;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;,&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:fuchsia;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;GETDATE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;color:gray;
mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;(),&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt;112&lt;span style=&quot;color:gray&quot;&gt;)+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'\'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'_LOG.BAK''&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:red;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;'&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;FROM&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:lime&quot;&gt;SYSDATABASES&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;WHERE&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:teal&quot;&gt;NAME&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;IN&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'MASTER'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:red&quot;&gt;'MODEL'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:red&quot;&gt;'MSDB'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:red&quot;&gt;'TEMPDB'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:red&quot;&gt;'TEST_DB'&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:blue;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;ORDER&lt;/span&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt; &lt;span style=&quot;color:blue&quot;&gt;BY&lt;/span&gt; &lt;span style=&quot;color:teal&quot;&gt;NAME&lt;/span&gt; &lt;span style=&quot;color:blue&quot;&gt;ASC&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p  align=&quot;left&quot; style=&quot;margin-bottom:0cm;margin-bottom:.0001pt;
text-align:left;line-height:normal;mso-layout-grid-align:none;word-break:keep-all&quot;&gt;&lt;span  style=&quot;;font-family:&amp;quot;Courier New&amp;quot;;
color:green;mso-font-kerning:0pt;mso-no-proof:yes&quot;&gt;--PRINT @QUERY ;&lt;/span&gt;&lt;/p&gt;

&lt;p &gt;&lt;span  style=&quot;;
line-height:115%;font-family:&amp;quot;Courier New&amp;quot;;color:blue;mso-font-kerning:0pt;
mso-no-proof:yes&quot;&gt;EXEC&lt;/span&gt;&lt;span  style=&quot;;
line-height:115%;font-family:&amp;quot;Courier New&amp;quot;;mso-font-kerning:0pt;mso-no-proof:
yes&quot;&gt; &lt;span style=&quot;color:lime&quot;&gt;SYS&lt;/span&gt;&lt;span style=&quot;color:gray&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:maroon&quot;&gt;SP_EXECUTESQL&lt;/span&gt;&lt;span style=&quot;color:blue&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:teal&quot;&gt;@QUERY&lt;/span&gt; &lt;span style=&quot;color:gray&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color:green&quot;&gt;--&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;
line-height:115%;mso-ascii-font-family:&amp;quot;Courier New&amp;quot;;mso-hansi-font-family:
&amp;quot;Courier New&amp;quot;;mso-bidi-font-family:&amp;quot;Courier New&amp;quot;;color:green;mso-font-kerning:
0pt;mso-no-proof:yes&quot;&gt;백업실행&lt;/span&gt;&lt;span &gt;&lt;/span&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <category>Laboratory/MSSQL</category>
      <category>Full backup</category>
      <category>mssql</category>
      <category>xp_cmdshell</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/363</guid>
      <comments>https://theking.tistory.com/363#entry363comment</comments>
      <pubDate>Tue, 25 Feb 2014 11:48:01 +0900</pubDate>
    </item>
    <item>
      <title>SQL Management Studio에 저장된 서버 로그인정보</title>
      <link>https://theking.tistory.com/357</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 532px; font-size: 9pt; line-height: 1.5; text-align: center;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/170ABE465148278F1A&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F170ABE465148278F1A&quot; width=&quot;532&quot; height=&quot;356&quot; filename=&quot;ssms.png&quot; filemime=&quot;image/jpeg&quot; style=&quot;font-size: 9pt; line-height: 1.5; text-align: center;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;SQL Management Studio에 저장된 서버 로그인정보(Server , ID, Password) 및 단축키 등의 옵션을 초기화 하려면 아래 경로의 SqlStudio.bin을 삭제..&lt;/p&gt;&lt;p&gt;혹시 Format등으로 다시 설치 하게 된다면 아래 파일을 백업 받아두었다가 덮어쓰기.&lt;/p&gt;&lt;p&gt;&quot;%APPDATA%\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin&quot;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Laboratory/MSSQL</category>
      <category>sql</category>
      <category>sql management studio</category>
      <category>SSMS</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/357</guid>
      <comments>https://theking.tistory.com/357#entry357comment</comments>
      <pubDate>Tue, 19 Mar 2013 17:56:54 +0900</pubDate>
    </item>
    <item>
      <title>MSSQL CONVERT 날짜타입</title>
      <link>https://theking.tistory.com/353</link>
      <description>&lt;p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;출처 :&amp;nbsp;http://blog.naver.com/chlrbdns/30132103578&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 1) &amp;nbsp; 결과 : &amp;nbsp;10/14/10&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 2) &amp;nbsp; 결과 : &amp;nbsp;10.10.14&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 3) &amp;nbsp; 결과 : &amp;nbsp;14/10/10&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 4) &amp;nbsp; 결과 : &amp;nbsp;14.10.10&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 5) &amp;nbsp; 결과 : &amp;nbsp;14-10-10&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 6) &amp;nbsp; 결과 : &amp;nbsp;14 10 10&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 7) &amp;nbsp; 결과 : &amp;nbsp;10 14, 10&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 8) &amp;nbsp; 결과 : &amp;nbsp;14:35:29&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 9) &amp;nbsp; 결과 : &amp;nbsp;10 14 2010 &amp;nbsp;2:35:29:247PM&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 10) &amp;nbsp; 결과 : &amp;nbsp;10-14-10&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 11) &amp;nbsp; 결과 : &amp;nbsp;10/10/14&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 12) &amp;nbsp; 결과 : &amp;nbsp;101014&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 13) &amp;nbsp; 결과 : &amp;nbsp;14 10 2010 14:35:29:247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 14) &amp;nbsp; 결과 : &amp;nbsp;14:35:29:247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 20) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14 14:35:29&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 21) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14 14:35:29.247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 22) &amp;nbsp; 결과 : &amp;nbsp;10/14/10 &amp;nbsp;2:35:29 PM&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 23) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 24) &amp;nbsp; 결과 : &amp;nbsp;14:35:29&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 25) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14 14:35:29.247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 100) &amp;nbsp; 결과 : &amp;nbsp;10 14 2010 &amp;nbsp;2:35PM&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 101) &amp;nbsp; 결과 : &amp;nbsp;10/14/2010&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 102) &amp;nbsp; 결과 : &amp;nbsp;2010.10.14&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 103) &amp;nbsp; 결과 : &amp;nbsp;14/10/2010&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 104) &amp;nbsp; 결과 : &amp;nbsp;14.10.2010&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 105) &amp;nbsp; 결과 : &amp;nbsp;14-10-2010&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 106) &amp;nbsp; 결과 : &amp;nbsp;14 10 2010&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 107) &amp;nbsp; 결과 : &amp;nbsp;10 14, 2010&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 108) &amp;nbsp; 결과 : &amp;nbsp;14:35:29&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 109) &amp;nbsp; 결과 : &amp;nbsp;10 14 2010 &amp;nbsp;2:35:29:247PM&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 110) &amp;nbsp; 결과 : &amp;nbsp;10-14-2010&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 111) &amp;nbsp; 결과 : &amp;nbsp;2010/10/14&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 112) &amp;nbsp; 결과 : &amp;nbsp;20101014&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 113) &amp;nbsp; 결과 : &amp;nbsp;14 10 2010 14:35:29:247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 114) &amp;nbsp; 결과 : &amp;nbsp;14:35:29:247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 120) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14 14:35:29&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 121) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14 14:35:29.247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 126) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14T14:35:29.247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 127) &amp;nbsp; 결과 : &amp;nbsp;2010-10-14T14:35:29.247&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;CONVERT(VARCHAR, GETDATE(), 131) &amp;nbsp; 결과 : &amp;nbsp; 7/11/1431 &amp;nbsp;2:35:29:247PM&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify; &quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&lt;span style=&quot;line-height: 16.350000381469727px;&quot;&gt;[출처] MSSQL CONVERT 날짜타입|작성자 사라세노&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <category>Laboratory/MS-SQL(Query Tuning)</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/353</guid>
      <comments>https://theking.tistory.com/353#entry353comment</comments>
      <pubDate>Thu, 10 Jan 2013 10:30:33 +0900</pubDate>
    </item>
    <item>
      <title>누락된 인덱스 기능 정보(MS Technet 스크랩)</title>
      <link>https://theking.tistory.com/352</link>
      <description>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;introduction&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; line-height: normal;&quot;&gt;&lt;p&gt;원본링크 &amp;nbsp;: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;http://technet.microsoft.com/ko-kr/library/ms345524(v=sql.105).aspx&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;http://technet.microsoft.com/en-us/library/ms345524(v=sql.105).aspx &amp;nbsp;(영문)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;누락된 인덱스 기능은 동적 관리 개체와 실행 계획을 사용하여 SQL Server 쿼리 성능을 높일 수 있는 누락된 인덱스에 대한 정보를 제공합니다.&lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; line-height: normal;&quot;&gt;&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot; style=&quot;margin-top: 9px; margin-bottom: 19px;&quot;&gt;&lt;a href=&quot;&quot; class=&quot;LW_CollapsibleArea_TitleAhref&quot; title=&quot;축소&quot; style=&quot;float: left; outline: none; color: rgb(150, 11, 180);&quot;&gt;&lt;span class=&quot;cl_CollapsibleArea_expanding LW_CollapsibleArea_Img&quot; style=&quot;background-image: url(http://i3.technet.microsoft.com/Areas/Epx/Content/Images/ImageSprite.png); background-attachment: scroll; width: 9px; height: 12px; overflow: hidden; border-width: 0px; vertical-align: middle; float: left; margin-top: 10px; display: inline-block; background-position: -421px -3px; background-repeat: no-repeat no-repeat;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot; style=&quot;font-size: 1.13em; color: rgb(0, 0, 0); word-break: break-all; word-wrap: break-word; padding-left: 6px; display: inline-block; overflow: hidden;&quot;&gt;구성 요소&lt;/span&gt;&lt;/a&gt;&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot; style=&quot;padding-top: 12px;&quot;&gt;&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; style=&quot;border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-top-style: none; border-right-style: none; color: rgb(229, 229, 229); margin-left: 4px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;sectionblock&quot; style=&quot;padding-left: 15px; clear: both;&quot;&gt;&lt;a id=&quot;sectionToggle0&quot;&gt;&lt;/a&gt;&lt;p&gt;쿼리 최적화 프로그램은 쿼리 계획을 생성할 때 어떤 인덱스가 특정 필터 조건에 가장 적합한지 분석합니다. 최상의 인덱스가 없을 경우 쿼리 최적화 프로그램에서 만족스럽지 못한 쿼리 계획을 생성하지만 최상의 인덱스에 대한 정보를 저장합니다. 누락된 인덱스 기능을 통해 이러한 인덱스 정보에 액세스하고 구현 여부를 결정할 수 있습니다.&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;누락된 인덱스 기능은 다음 구성 요소로 이루어져 있습니다.&lt;/p&gt;&lt;ul style=&quot;padding-left: 0px; margin-left: 40px;&quot;&gt;&lt;li style=&quot;list-style-image: url(http://i3.technet.microsoft.com/Areas/Brand/Content/b.gif);&quot;&gt;&lt;p&gt;누락된 인덱스에 대한 정보를 반환하기 위해 쿼리할 수 있는 동적 관리 개체 집합&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;list-style-image: url(http://i3.technet.microsoft.com/Areas/Brand/Content/b.gif);&quot;&gt;&lt;p&gt;쿼리 최적화 프로그램에서 누락된 것으로 간주되는 인덱스와 해당 쿼리의 상관 관계를 지정하는 XML 실행 계획의&amp;nbsp;&lt;span class=&quot;input&quot; style=&quot;font-weight: 700;&quot;&gt;MissingIndexes&lt;/span&gt;&amp;nbsp;요소&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;누락된 인덱스 기능의 구성 요소에 대해서는 다음 섹션에서 자세히 설명합니다.&lt;/p&gt;&lt;h3 class=&quot;subHeading&quot; style=&quot;font-size: 1.5em; font-weight: normal;&quot;&gt;동적 관리 개체&lt;/h3&gt;&lt;div class=&quot;subsection&quot;&gt;&lt;p&gt;SQL Server에서 일반 작업을 실행한 후 다음 표에 나열된 동적 관리 개체를 쿼리하여 누락된 인덱스에 대한 정보를 검색할 수 있습니다. 이러한 동적 관리 개체는 master 데이터베이스에 저장됩니다.&lt;/p&gt;&lt;div class=&quot;caption&quot; style=&quot;font-size: 1.007em; font-weight: bold; color: rgb(63, 82, 156); clear: both !important; height: 20px !important;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;tableSection&quot;&gt;&lt;table style=&quot;border: 1px solid rgb(187, 187, 187); border-collapse: collapse; width: 940px;&quot;&gt;&lt;tbody&gt;&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;th style=&quot;border: 1px solid rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding: 4px; height: 21px; font-size: 1.077em; color: rgb(0, 0, 0); font-weight: normal;&quot;&gt;&lt;p&gt;동적 관리 개체&lt;/p&gt;&lt;/th&gt;&lt;th style=&quot;border: 1px solid rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding: 4px; height: 21px; font-size: 1.077em; color: rgb(0, 0, 0); font-weight: normal;&quot;&gt;&lt;p&gt;반환되는 정보&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345421(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;sys.dm_db_missing_index_group_stats(Transact-SQL)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;누락된 인덱스 그룹에 대한 요약 정보를 반환합니다. 예를 들어 특정 그룹의 누락된 인덱스를 구현할 경우 얻을 수 있는 성능 향상 등의 정보가 포함됩니다.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345407(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;sys.dm_db_missing_index_groups(Transact-SQL)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;그룹 식별자 및 해당 그룹에 포함된 모든 누락된 인덱스의 식별자와 같은 특정 그룹의 누락된 인덱스에 대한 정보를 반환합니다.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345434(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;sys.dm_db_missing_index_details(Transact-SQL)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;누락된 인덱스에 대한 자세한 정보를 반환합니다. 예를 들어 인덱스가 누락된 테이블의 이름과 식별자 및 누락된 인덱스를 구성해야 하는 열과 열 유형을 반환합니다.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345364(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;sys.dm_db_missing_index_columns(Transact-SQL)&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(187, 187, 187); line-height: 18px; padding: 9px 4px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative;&quot;&gt;인덱스가 없는 데이터베이스 테이블 열에 대한 정보를 반환합니다.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;이러한 동적 관리 개체에 의해 반환된 정보를 도구 또는 스크립트에서 사용하여 누락된 인덱스를 구현할 CREATE INDEX DDL 문을 생성할 수 있습니다.&lt;/p&gt;&lt;h4 class=&quot;subHeading&quot; style=&quot;font-size: 1.33em; color: rgb(63, 82, 156); margin-top: 13px; margin-bottom: 7px;&quot;&gt;트랜잭션 일관성&lt;/h4&gt;&lt;div class=&quot;subsection&quot;&gt;&lt;p&gt;동적 관리 개체의 행에 대한 개별적인 수정 내용은 트랜잭션 측면에서 일관되지 않습니다. 즉, 쿼리를 중단하거나 묶는 트랜잭션을 롤백해도 해당 쿼리의 누락된 인덱스에 대한 정보가 들어 있는 행은 여전히 남아 있습니다.&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;전체 트랜잭션만 지원되며 검사점과 부분 롤백은 지원되지 않습니다.&lt;/p&gt;&lt;div class=&quot;alert&quot; style=&quot;border: 1px solid rgb(187, 187, 187); background-color: rgb(252, 254, 197); margin-bottom: 10px;&quot;&gt;&lt;table style=&quot;border: 0px solid rgb(187, 187, 187); border-collapse: collapse; width: 939px;&quot;&gt;&lt;tbody&gt;&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;th style=&quot;border: 0px hidden rgb(187, 187, 187); padding: 10px 11px 1px; height: 21px; font-size: 1.077em; color: rgb(0, 0, 0); border-collapse: collapse; border-spacing: 0px;&quot;&gt;&lt;img id=&quot;alert_note&quot; alt=&quot;참고&quot; src=&quot;http://i.technet.microsoft.com/areas/global/content/clear.gif&quot; title=&quot;참고&quot; xmlns=&quot;&quot; class=&quot;cl_IC101471&quot; style=&quot;border: 0px; background-image: url(http://i3.technet.microsoft.com/Areas/Epx/Content/Images/ImageSprite.png); background-attachment: scroll; width: 16px; height: 14px; overflow: hidden; padding-right: 5px; background-position: -1152px -3px; background-repeat: no-repeat no-repeat;&quot;&gt;&lt;strong&gt;참고&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px solid rgb(187, 187, 187); line-height: 18px; padding: 1px 11px 10px; margin: 1px;&quot;&gt;&lt;p style=&quot;margin: 0px; position: relative;&quot;&gt;테이블의 메타데이터가 변경되면 해당 테이블에 대한 모든 누락된 인덱스 정보가 이러한 동적 관리 개체에서 삭제됩니다. 테이블 메타데이터는 테이블에서 열을 추가하거나 삭제할 때 또는 테이블의 열에 인덱스를 만들 때 변경될 수 있습니다.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3 class=&quot;subHeading&quot; style=&quot;font-size: 1.5em; font-weight: normal;&quot;&gt;XML 실행 계획 MissingIndexes 요소&lt;/h3&gt;&lt;div class=&quot;subsection&quot;&gt;&lt;p&gt;동적 관리 개체 결과에서 식별된 누락된 인덱스와 쿼리의 상관 관계를 지정하려면 XML 실행 계획의&amp;nbsp;&lt;span class=&quot;input&quot; style=&quot;font-weight: 700;&quot;&gt;MissingIndexes&lt;/span&gt;&amp;nbsp;요소를 확인합니다.&amp;nbsp;&lt;span class=&quot;input&quot; style=&quot;font-weight: 700;&quot;&gt;MissingIndexes&lt;/span&gt;&amp;nbsp;요소에 대해서는 다음 예에서 설명합니다.&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;lt;ShowPlanXML…&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;lt;BatchSequence&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Batch&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Statements&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;StmtSimple…&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;StatementSetOptions… /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;QueryPlan…&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;lt;MissingIndexes&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;MissingIndexGroup Impact=&quot;22.8764&quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;MissingIndex Database=&quot;[ADVENTUREWORKS2008R2]&quot; Schema=&quot;[Person]&quot; Table=&quot;[Address]&quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ColumnGroup Usage=&quot;EQUALITY&quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Column Name=&quot;[PostalCode]&quot; ColumnId=&quot;4&quot; /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ColumnGroup&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ColumnGroup Usage=&quot;INEQUALITY&quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Column Name=&quot;[ModifiedDate]&quot; ColumnId=&quot;5&quot; /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ColumnGroup&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ColumnGroup Usage=&quot;INCLUDE&quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Column Name=&quot;[AddressLine1]&quot; ColumnId=&quot;2&quot; /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Column Name=&quot;[AddressLine2]&quot; ColumnId=&quot;3&quot; /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Column Name=&quot;[StateProvinceID]&quot; ColumnId=&quot;1&quot; /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ColumnGroup&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/MissingIndex&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/MissingIndexGroup&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;code&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/MissingIndexes&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;span class=&quot;input&quot; style=&quot;font-weight: 700;&quot;&gt;MissingIndexes&lt;/span&gt;&amp;nbsp;요소에 있는 정보는 Transact-SQL 문 자체를 포함하는&amp;nbsp;&lt;span class=&quot;input&quot; style=&quot;font-weight: 700;&quot;&gt;StmtSimple&lt;/span&gt;&amp;nbsp;요소에 설명된 특정 쿼리의 성능을 향상시킬 인덱스를 확인하는 데 도움이 됩니다. 그런 다음 이 요소에 대해 반환된 정보를 사용하여 CREATE INDEX DDL 문을 작성할 수 있습니다.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; line-height: normal;&quot;&gt;&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot; style=&quot;margin-top: 9px; margin-bottom: 19px;&quot;&gt;&lt;a href=&quot;&quot; class=&quot;LW_CollapsibleArea_TitleAhref&quot; title=&quot;축소&quot; style=&quot;float: left; outline: none; color: rgb(150, 11, 180);&quot;&gt;&lt;span class=&quot;cl_CollapsibleArea_expanding LW_CollapsibleArea_Img&quot; style=&quot;background-image: url(http://i3.technet.microsoft.com/Areas/Epx/Content/Images/ImageSprite.png); background-attachment: scroll; width: 9px; height: 12px; overflow: hidden; border-width: 0px; vertical-align: middle; float: left; margin-top: 10px; display: inline-block; background-position: -421px -3px; background-repeat: no-repeat no-repeat;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot; style=&quot;font-size: 1.13em; color: rgb(0, 0, 0); word-break: break-all; word-wrap: break-word; padding-left: 6px; display: inline-block; overflow: hidden;&quot;&gt;누락된 인덱스 기능 설정 및 해제&lt;/span&gt;&lt;/a&gt;&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot; style=&quot;padding-top: 12px;&quot;&gt;&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; style=&quot;border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-top-style: none; border-right-style: none; color: rgb(229, 229, 229); margin-left: 4px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;sectionblock&quot; style=&quot;padding-left: 15px; clear: both;&quot;&gt;&lt;a id=&quot;sectionToggle1&quot;&gt;&lt;/a&gt;&lt;p&gt;누락된 인덱스 기능은 기본적으로 설정되어 있습니다. 이 기능을 설정 또는 해제하거나 동적 관리 개체를 쿼리할 때 반환되는 테이블을 다시 설정하기 위한 컨트롤은 제공되지 않습니다. SQL Server를 다시 시작하면 누락된 인덱스 정보가 모두 삭제됩니다.&lt;/p&gt;&lt;p style=&quot;margin-top: -6px;&quot;&gt;&lt;strong&gt;sqlservr&lt;/strong&gt;&amp;nbsp;명령 프롬프트 유틸리티에&amp;nbsp;&lt;strong&gt;-x&lt;/strong&gt;&amp;nbsp;인수를 사용하여 SQL Server 인스턴스를 시작한 경우에만 이 기능을 해제할 수 있습니다. 자세한 내용은&amp;nbsp;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms162819(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;sqlservr 응용 프로그램&lt;/a&gt;을 참조하십시오.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; line-height: normal;&quot;&gt;&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot; style=&quot;margin-top: 9px; margin-bottom: 19px;&quot;&gt;&lt;a href=&quot;&quot; class=&quot;LW_CollapsibleArea_TitleAhref&quot; title=&quot;축소&quot; style=&quot;float: left; outline: none; color: rgb(150, 11, 180);&quot;&gt;&lt;span class=&quot;cl_CollapsibleArea_expanding LW_CollapsibleArea_Img&quot; style=&quot;background-image: url(http://i3.technet.microsoft.com/Areas/Epx/Content/Images/ImageSprite.png); background-attachment: scroll; width: 9px; height: 12px; overflow: hidden; border-width: 0px; vertical-align: middle; float: left; margin-top: 10px; display: inline-block; background-position: -421px -3px; background-repeat: no-repeat no-repeat;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot; style=&quot;font-size: 1.13em; color: rgb(0, 0, 0); word-break: break-all; word-wrap: break-word; padding-left: 6px; display: inline-block; overflow: hidden;&quot;&gt;참고 항목&lt;/span&gt;&lt;/a&gt;&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot; style=&quot;padding-top: 12px;&quot;&gt;&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; style=&quot;border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-top-style: none; border-right-style: none; color: rgb(229, 229, 229); margin-left: 4px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;sectionblock&quot; style=&quot;padding-left: 15px; clear: both;&quot;&gt;&lt;a id=&quot;seeAlsoToggle&quot;&gt;&lt;/a&gt;&lt;h4 class=&quot;subHeading&quot; style=&quot;font-size: 1.33em; color: rgb(63, 82, 156); margin-top: 13px; margin-bottom: 7px;&quot;&gt;개념&lt;/h4&gt;&lt;div class=&quot;seeAlsoStyle&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345405(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;누락된 인덱스 정보를 사용하여 CREATE INDEX 문 작성&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;seeAlsoStyle&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345485(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;누락된 인덱스 기능의 제한 사항&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;seeAlsoStyle&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345577(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;관련된 쿼리 튜닝 기능&lt;/a&gt;&lt;/div&gt;&lt;h4 class=&quot;subHeading&quot; style=&quot;font-size: 1.33em; color: rgb(63, 82, 156); margin-top: 13px; margin-bottom: 7px;&quot;&gt;관련 자료&lt;/h4&gt;&lt;div class=&quot;seeAlsoStyle&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/ko-kr/library/ms345417(v=sql.105).aspx&quot; style=&quot;color: rgb(150, 11, 180);&quot;&gt;누락된 인덱스 찾기&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</description>
      <category>Laboratory/MS-SQL(Query Tuning)</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/352</guid>
      <comments>https://theking.tistory.com/352#entry352comment</comments>
      <pubDate>Wed, 2 Jan 2013 11:54:42 +0900</pubDate>
    </item>
    <item>
      <title>IIS 6.0에서 응용 프로그램 풀의 최대 개수(스레드 : IIS 웹사이트 한계)</title>
      <link>https://theking.tistory.com/348</link>
      <description>&lt;p&gt;스레드 : IIS 웹사이트 한계&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://forums.iis.net/p/1151701/1879243.aspx#1879243&quot;&gt;http://forums.iis.net/p/1151701/1879243.aspx#1879243&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;IIS 6.0에서 응용 프로그램 풀의 최대 개수&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blogs.msdn.com/b/webtopics/archive/2009/01/22/maximum-number-of-application-pools-in-iis-6-0.aspx&quot;&gt;http://blogs.msdn.com/b/webtopics/archive/2009/01/22/maximum-number-of-application-pools-in-iis-6-0.aspx&lt;/a&gt;&lt;/p&gt;</description>
      <category>Laboratory/Windows Server</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/348</guid>
      <comments>https://theking.tistory.com/348#entry348comment</comments>
      <pubDate>Wed, 26 Oct 2011 16:59:36 +0900</pubDate>
    </item>
    <item>
      <title>[스크랩_게시]Using INSERT OUTPUT in a SQL Server Transaction</title>
      <link>https://theking.tistory.com/346</link>
      <description>&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: normal; background-color: rgb(255, 255, 255); &quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;출처 :&amp;nbsp;&lt;/p&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: normal; background-color: rgb(255, 255, 255); &quot;&gt;&lt;a href=&quot;http://www.mssqltips.com/sqlservertip/2183/using-insert-output-in-a-sql-server-transaction/&quot;&gt;http://www.mssqltips.com/sqlservertip/2183/using-insert-output-in-a-sql-server-transaction/&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: normal; background-color: rgb(255, 255, 255); &quot;&gt;&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;&lt;u&gt;&lt;b&gt;Problem&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
Frequently I find myself in situations where I need to insert records into a table in a set-based operation wrapped inside of a transaction where secondarily, and within the same transaction, I spawn-off subsequent inserts into related tables where I need to pass-in key values that were the outcome of the initial INSERT command.&amp;nbsp; Thanks to a Transact/SQL enhancement in SQL Server, this just became much easier and can be done in a single statement... WITHOUT A TRIGGER!&lt;/p&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;&lt;b&gt;&lt;u&gt;Solution&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
One of the Transact/SQL enhancements in Microsoft SQL Server is the OUTPUT sub-clause of the INSERT statement.&amp;nbsp; You can now capture the records inserted via an INSERT statement (think also being able to capture IDENTITY column values for the new rows) for subsequent use in an additional INSERT statement for a child table to persist referential integrity without the need for an INSERT trigger.&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;Why not just use a trigger?&amp;nbsp; It's a viable and proven construct of SQL Server, right?&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;The short answer is &quot;Yes, it is.&quot;&amp;nbsp; However, triggers are one of those nasty little secrets that the database keeps.&amp;nbsp; They don't just jump right out at you and say &quot;HERE I AM!&quot;&amp;nbsp; Take for example the troubleshooting process of deadlocks or tuning a poorly-performing query - a trigger sitting in the background performing as it's been asked to may be causing your issues, but you're going to go through many iterations of searching stored procedures, and ad-hoc T/SQL code before you probably even stop to consider there is a trigger firing off data modification language commands (DML) - INSERTS, UPDATES, or DELETES that are adjunct to what you're trying to diagnose.&amp;nbsp; I associate the use of triggers with the use of ad-hoc T/SQL code used in an application's code stack and passed to a SQL Server instance for processing - practices to shy away from.&lt;/p&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;That is why I like what I see with the INSERT-OUTPUT construct.&amp;nbsp; You get the benefits of being able to capture the inserted values that you can then pass to a secondary command - and you can wrap this all inside a single transaction for atomicity.&amp;nbsp; The syntax for this construct is shown below and differs only slightly from the basic INSERT T/SQL command:&lt;/p&gt;
&lt;div class=&quot;codediv&quot; style=&quot;width: 750px; background-color: rgb(255, 255, 225); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; border-collapse: separate; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; font-family: 'Courier New', Courier, monospace; font-size: 9pt; overflow-x: hidden; overflow-y: hidden; &quot;&gt;
&lt;code style=&quot;font-size: 12px; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;INSERT INTO&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;SOME_TABLE&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;column_list&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;OUTPUT INSERTED.&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;identity_column&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green; &quot;&gt;--and other columns from SOME_TABLE if need be&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;INTO&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;SOME_OTHER_TABLE&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;column_list&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;SELECT&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;column_list&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;source_table_OR_JOIN_of_multiple_tables&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;WHERE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;filtering_criteria&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;The only difference between this and a standard INSERT statement is the inclusion on the OUTPUT...INTO statement.&amp;nbsp; To make this easy think of it as simply a secondary INSERT statement inside of the original INSERT statement that captures the values in the virtualized INSERTED table - the same table that a trigger would use - to process a secondary INSERT to another table.&amp;nbsp; In the example below, and in keeping with the holiday season, let's say you're responsible for doing a bit of hiring at the corporate AdventureWorks offices.&amp;nbsp; A right-jolly old elf is being hired for some in-store promotions and in keeping with corporate policy you always perform a 90 day review for any new hires.&amp;nbsp; We want to have the notfication recorded when the new hire is entered without any additional work on the part of Human Resources.&amp;nbsp; The code below demonstates how we can use INSERT-OUTPUT to do this.&lt;/p&gt;
&lt;div class=&quot;codediv&quot; style=&quot;width: 750px; background-color: rgb(255, 255, 225); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; border-collapse: separate; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; font-family: 'Courier New', Courier, monospace; font-size: 9pt; overflow-x: hidden; overflow-y: hidden; &quot;&gt;
&lt;code style=&quot;font-size: 12px; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;USE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;AdventureWorks&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;GO&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: green; &quot;&gt;---Create Example Tables&lt;br /&gt;
/*&lt;br /&gt;
Note, this is not fully-normalized.&amp;nbsp;&amp;nbsp;I would have included another table&amp;nbsp;&lt;br /&gt;
for Notification Types if this was an actual solution.&lt;br /&gt;
I would also use an int NotificationTypeID column in Notifications table&amp;nbsp;&lt;br /&gt;
instead of a varchar(xx) NotificationType column.&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;CREATE SCHEMA&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[HR]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;AUTHORIZATION&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;GO&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;CREATE TABLE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[HR].[Staff]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[StaffID] [int]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(67, 67, 67); &quot;&gt;IDENTITY&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[FirstName]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[LastName]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;) NOT NULL,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;CONSTRAINT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[PK_StaffID]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;PRIMARY KEY CLUSTERED&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[StaffID]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ASC&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ON&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[PRIMARY]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ON&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[PRIMARY]&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;CREATE TABLE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[HR].[Notification]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[NotificationID] [int]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(67, 67, 67); &quot;&gt;IDENTITY&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[StaffID] [int]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[NotificationDate]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;DATETIME&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[NotificationType]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;) NOT NULL,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;CONSTRAINT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[PK_NotificationID]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;PRIMARY KEY CLUSTERED&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[NotificationID]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ASC&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ON&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[PRIMARY]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ON&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[PRIMARY]&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;Now that we've built the objects for this little exercise we can look at the INSERT-OUTPUT construct in action...&lt;/p&gt;
&lt;div class=&quot;codediv&quot; style=&quot;width: 750px; background-color: rgb(255, 255, 225); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; border-collapse: separate; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; font-family: 'Courier New', Courier, monospace; font-size: 9pt; overflow-x: hidden; overflow-y: hidden; &quot;&gt;
&lt;code style=&quot;font-size: 12px; &quot;&gt;&lt;span style=&quot;color: green; &quot;&gt;/*&lt;br /&gt;
Demonstrate how you can insert the key values added to Staff.StaffID&amp;nbsp;&lt;br /&gt;
into Notifications.StaffID in single transaction&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;INSERT INTO&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Staff&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;FirstName&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;LastName&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;OUTPUT INSERTED.StaffID&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 255); &quot;&gt;DATEADD&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 255); &quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;()),&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'90-Day Review'&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;INTO&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Notification&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;StaffID&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;NotificationDate&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;NotificationType&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;VALUES&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'Santa'&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'Claus'&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;Selecting now from both the Staff and Notification tables you'll see that the key values were successfully entered into both tables:&lt;/p&gt;
&lt;div class=&quot;codediv&quot; style=&quot;width: 750px; background-color: rgb(255, 255, 225); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; border-collapse: separate; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; font-family: 'Courier New', Courier, monospace; font-size: 9pt; overflow-x: hidden; overflow-y: hidden; &quot;&gt;
&lt;code style=&quot;font-size: 12px; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;SELECT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;*&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Staff&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;SELECT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;*&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Notification&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.mssqltips.com/tipimages2/2183_01.png&quot; style=&quot;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; &quot;&gt;&lt;/p&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;Now there is a very important - and quite limiting caveat to using INSERT-OUTPUT.&amp;nbsp; The Output target can't be part of any foreign key relationship.&amp;nbsp; Even if there is no cascading relationship to any other object via that relationship in the database.&amp;nbsp; Let's look at what happens if it is.&amp;nbsp; We'll add a foreign key to Notification on StaffID, referencing the StaffID column in the Staff table and then try to add some additional holiday help:&lt;/p&gt;
&lt;div class=&quot;codediv&quot; style=&quot;width: 750px; background-color: rgb(255, 255, 225); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; border-collapse: separate; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; font-family: 'Courier New', Courier, monospace; font-size: 9pt; overflow-x: hidden; overflow-y: hidden; &quot;&gt;
&lt;code style=&quot;font-size: 12px; &quot;&gt;&lt;span style=&quot;color: green; &quot;&gt;--Add Foreign Key for StaffID column to Notifications table&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ALTER TABLE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Notification&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ADD CONSTRAINT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;[FK_Notification_Staff]&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;FOREIGN KEY&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;StaffID&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;REFERENCES&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Staff&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;StaffID&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;);&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: green; &quot;&gt;/*&lt;br /&gt;
Demonstrate how you can insert the key values added to Staff.StaffID&amp;nbsp;&lt;br /&gt;
into Notifications.StaffID in single transaction&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;INSERT INTO&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Staff&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;FirstName&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;LastName&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;OUTPUT INSERTED.StaffID&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 255); &quot;&gt;DATEADD&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;90&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 255); &quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;()),&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'90-Day Review'&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;INTO&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Notification&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;StaffID&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;NotificationDate&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;NotificationType&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;VALUES&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'Frosty'&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'Snowman'&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;);&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;SELECT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;*&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Staff&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;SELECT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;*&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;HR.Notification&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;;&lt;br /&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;The following error message is returned as expected:&amp;nbsp;&lt;/p&gt;
&lt;div class=&quot;codediv&quot; style=&quot;width: 750px; background-color: rgb(255, 255, 225); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); -webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; border-collapse: separate; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; font-family: 'Courier New', Courier, monospace; font-size: 9pt; overflow-x: hidden; overflow-y: hidden; &quot;&gt;
&lt;code style=&quot;font-size: 12px; &quot;&gt;&lt;span style=&quot;color: black; &quot;&gt;Msg 332&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;LEVEL&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;16&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;State 1&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;Line 17&lt;br /&gt;
The target&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;TABLE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'HR.Notification'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;OF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;the OUTPUT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;INTO&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;clause cannot be&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;ON&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;either side&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;OF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;PRIMARY KEY&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;FOREIGN KEY&lt;/span&gt;&lt;span style=&quot;color: gray; &quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;relationship. Found reference&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; &quot;&gt;CONSTRAINT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; &quot;&gt;'FK_Notification_Staff'&lt;/span&gt;&lt;span style=&quot;color: black; &quot;&gt;.&lt;/span&gt;&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;This is probably good in this case since chances are good Mr. Snowman is not going to be around in 90 days.&lt;/p&gt;
&lt;p style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; &quot;&gt;&lt;b&gt;&lt;u&gt;Next Steps&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Read more about the&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms177564(v=SQL.105).aspx&quot; target=&quot;_blank&quot;&gt;OUTPUT clause&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Also read this&lt;a href=&quot;http://www.mssqltips.com/sqlservertip/1381/sql-server-trigger-alternatives-with-the-output-clause/&quot;&gt;&amp;nbsp;previous tip&lt;/a&gt;&amp;nbsp;about the OUTPUT clause&lt;/li&gt;
&lt;li&gt;More tips from the author are available via&amp;nbsp;&lt;a href=&quot;http://www.mssqltips.com/author.asp?authorid=13&quot;&gt;this link&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Last Update: 12/13/2010&lt;/span&gt;&lt;p&gt;&lt;/p&gt;</description>
      <category>Laboratory/MSSQL</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/346</guid>
      <comments>https://theking.tistory.com/346#entry346comment</comments>
      <pubDate>Mon, 17 Oct 2011 11:37:11 +0900</pubDate>
    </item>
    <item>
      <title>Mapping System Tables to System Views (Transact-SQL) SQL Server 2008 R2 Other Versions  This topic shows the mapping between the system tables and functions and system views and functions.  The following table maps the system tables that are in the mast..</title>
      <link>https://theking.tistory.com/345</link>
      <description>&lt;p&gt;&lt;b&gt;출처 :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187997.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms187997.aspx&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1 class=&quot;title&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.769em; color: rgb(63, 82, 156); font-weight: bold; font-style: normal; font-variant: normal; line-height: normal; &quot;&gt;Mapping System Tables to System Views (Transact-SQL)&lt;/h1&gt;&lt;div class=&quot;lw_vs&quot; style=&quot;margin-top: -8px; margin-bottom: 10px; padding-bottom: 2px; font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; color: rgb(0, 0, 0); line-height: normal; &quot;&gt;
&lt;div id=&quot;curversion&quot; style=&quot;float: left; padding-right: 3px; font-size: 1em; color: rgb(93, 93, 93); &quot;&gt;
&lt;strong&gt;SQL Server 2008 R2&lt;/strong&gt;&lt;/div&gt;
&lt;div id=&quot;versionclick&quot; style=&quot;float: left; visibility: visible; &quot;&gt;
&lt;div id=&quot;vsseperator&quot; class=&quot;cl_lw_vs_seperator&quot; style=&quot;background-image: url(http://i3.msdn.microsoft.com/Hash/f4846862b92e30f81c0fb97abb1ae099.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: initial; width: 1px; height: 17px; overflow-x: hidden; overflow-y: hidden; margin-left: 10px; float: left; background-position: -2642px -3px; background-repeat: no-repeat no-repeat; &quot;&gt;
&lt;/div&gt;
&lt;div id=&quot;versionclick_c1&quot; style=&quot;float: left; &quot;&gt;
&lt;/div&gt;
&lt;div id=&quot;versionclick_c2&quot; style=&quot;float: left; &quot;&gt;
&lt;div class=&quot;&quot; style=&quot;float: left; &quot;&gt;
&lt;a id=&quot;vsLink&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ms187997.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; margin-left: 10px; margin-right: 4px; font-size: 1em; &quot;&gt;Other Versions&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;cl_vs_arrow clip10x10&quot; style=&quot;position: relative; overflow-x: hidden; overflow-y: hidden; width: 10px; height: 10px; margin-top: 5px; margin-right: 5px; cursor: pointer; float: left; &quot;&gt;
&lt;img class=&quot;cl_lw_vs_arrow&quot; id=&quot;vsArrow&quot; alt=&quot;&quot; src=&quot;http://i3.msdn.microsoft.com/Hash/f4846862b92e30f81c0fb97abb1ae099.png&quot; style=&quot;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; top: -3px; left: -2667px; position: absolute; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; height: auto; &quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;versionclick_c3&quot; style=&quot;float: left; &quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;clear: both; font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; color: rgb(0, 0, 0); line-height: normal; &quot;&gt;
&lt;/div&gt;
&lt;div id=&quot;mainSection&quot; style=&quot;padding-top: 0px; font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; color: rgb(0, 0, 0); line-height: normal; &quot;&gt;
&lt;div id=&quot;mainBody&quot;&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class=&quot;introduction&quot;&gt;
&lt;p&gt;This topic shows the mapping between the system tables and functions and system views and functions.&lt;/p&gt;
&lt;p style=&quot;margin-top: -6px; &quot;&gt;The following table maps the system tables that are in the master database in SQL Server 2000 to their corresponding system views or functions in SQL Server 2008.&lt;/p&gt;
&lt;div class=&quot;caption&quot; style=&quot;clear: both !important; height: 20px !important; font-size: 1.007em; font-weight: bold; color: rgb(63, 82, 156); &quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
&lt;table style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); border-collapse: collapse; width: 1355px; &quot;&gt;
&lt;tbody&gt;&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;th style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; &quot;&gt;&lt;p&gt;System table&lt;/p&gt;
&lt;/th&gt;&lt;th style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; &quot;&gt;&lt;p&gt;System views or functions&lt;/p&gt;
&lt;/th&gt;&lt;th style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; &quot;&gt;&lt;p&gt;Type of view or function&lt;/p&gt;
&lt;/th&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysaltfiles&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms186782.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.master_files&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syscacheobjects&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187404.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_exec_cached_plans&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms189472.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_exec_plan_attributes (Transact-SQL)&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms181929.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_exec_sql_text&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms403826.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_exec_cached_plan_dependent_objects&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syscharsets&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms190300.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.syscharsets&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Compatibility view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysconfigures&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188345.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.configurations&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syscurconfigs&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188345.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.configurations&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysdatabases&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms178534.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.databases&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysdevices&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms178018.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.backup_devices&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syslanguages&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms190303.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.syslanguages&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Compatibility view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syslockinfo&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms190345.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_tran_locks&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syslocks&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms190345.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_tran_locks&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syslogins&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188786.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.server_principals&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms174355.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.sql_logins&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysmessages&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187382.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.messages&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysoledbusers&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188018.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.linked_logins&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysopentapes&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms176071.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_io_backup_tapes&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysperfinfo&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187743.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_os_performance_counters&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysprocesses&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms181509.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_exec_connections&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms176013.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_exec_sessions&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms177648.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_exec_requests&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysremotelogins&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms177584.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.remote_logins&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysservers&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms178530.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.servers&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;The following table maps the system tables or functions that are in every database in SQL Server 2000 to their corresponding system views or functions in SQL Server 2008.&lt;/p&gt;
&lt;div class=&quot;caption&quot; style=&quot;clear: both !important; height: 20px !important; font-size: 1.007em; font-weight: bold; color: rgb(63, 82, 156); &quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;tableSection&quot;&gt;
&lt;table style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); border-collapse: collapse; width: 1355px; &quot;&gt;
&lt;tbody&gt;&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;th style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; &quot;&gt;&lt;p&gt;System table or function&lt;/p&gt;
&lt;/th&gt;&lt;th style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; &quot;&gt;&lt;p&gt;System view or function&lt;/p&gt;
&lt;/th&gt;&lt;th style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(229, 229, 229); padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: rgb(0, 0, 0); font-style: normal; font-weight: normal; &quot;&gt;&lt;p&gt;Type of view or function&lt;/p&gt;
&lt;/th&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;fn_virtualfilestats&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms190326.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_io_virtual_file_stats&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syscolumns&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms176106.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.columns&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syscomments&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms175081.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.sql_modules&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysconstraints&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187388.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.check_constraints&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms173758.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.default_constraints&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms174321.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.key_constraints&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms189807.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.foreign_keys&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysdepends&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb677315.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.sql_expression_dependencies&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysfilegroups&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187782.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.filegroups&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysfiles&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms174397.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.database_files&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysforeignkeys&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms186306.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.foreign_key_columns&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysindexes&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms173760.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.indexes&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms175012.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.partitions&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms189792.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.allocation_units&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187737.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.dm_db_partition_stats&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Dynamic management view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysindexkeys&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms175105.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.index_columns&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysmembers&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms189780.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.database_role_members&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysobjects&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms190324.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.objects&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;syspermissions&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188367.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.database_permissions&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms186260.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.server_permissions&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysprotects&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188367.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.database_permissions&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms186260.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.server_permissions&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;p style=&quot;margin-top: 7px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysreferences&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms189807.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.foreign_keys&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;systypes&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188021.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.types&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysusers&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187328.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.database_principals&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top; &quot;&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;sysfulltextcatalogs&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188779.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;sys.fulltext_catalogs&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style=&quot;border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); background-color: rgb(255, 255, 255); line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 0px; position: relative; &quot;&gt;Catalog view&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div xmlns=&quot;&quot;&gt;
&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot; style=&quot;margin-top: 9px; margin-bottom: 19px; &quot;&gt;
&lt;div&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms187997.aspx&quot; class=&quot;LW_CollapsibleArea_TitleAhref&quot; title=&quot;Collapse&quot; style=&quot;outline-style: none; outline-width: initial; outline-color: initial; float: left; color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;&lt;img src=&quot;http://i.msdn.microsoft.com/Hash/030c41d9079671d09a62d8e2c1db6973.gif&quot; class=&quot;cl_CollapsibleArea_expanding LW_CollapsibleArea_Img&quot; style=&quot;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-image: url(http://i3.msdn.microsoft.com/Hash/f4846862b92e30f81c0fb97abb1ae099.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: initial; width: 9px; height: 12px; overflow-x: hidden; overflow-y: hidden; vertical-align: middle; background-position: -2734px -3px; background-repeat: no-repeat no-repeat; &quot;&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot; style=&quot;font-family: 'Segoe UI', Verdana, Arial; font-size: 1.538em; color: rgb(63, 82, 156); font-weight: bold; word-break: break-all; word-wrap: break-word; padding-left: 6px; &quot;&gt;See Also&lt;/span&gt;&lt;/a&gt;&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot; style=&quot;padding-top: 12px; &quot;&gt;
&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; style=&quot;border-bottom-color: rgb(229, 229, 229); border-bottom-width: 1px; border-bottom-style: solid; border-top-style: none; border-top-width: initial; border-top-color: initial; border-right-style: none; border-right-width: initial; border-right-color: initial; color: rgb(229, 229, 229); margin-left: 4px; &quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;sectionblock&quot; style=&quot;padding-left: 15px; display: block; clear: both; &quot;&gt;
&lt;a id=&quot;seeAlsoToggle&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;/a&gt;&lt;h4 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot; style=&quot;font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; color: rgb(63, 82, 156); font-weight: bold; margin-top: 13px; margin-bottom: 7px; &quot;&gt;Reference&lt;/h4&gt;&lt;div class=&quot;seeAlsoStyle&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms174365.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;Catalog Views (Transact-SQL)&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;seeAlsoStyle&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms188754.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;Dynamic Management Views and Functions (Transact-SQL)&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;seeAlsoStyle&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms179932.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;System Tables (Transact-SQL)&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 class=&quot;subHeading&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot; style=&quot;font-family: 'Segoe UI', Verdana, Arial; font-size: 1em; color: rgb(63, 82, 156); font-weight: bold; margin-top: 13px; margin-bottom: 7px; &quot;&gt;Concepts&lt;/h4&gt;&lt;div class=&quot;seeAlsoStyle&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms189082.aspx&quot; style=&quot;color: rgb(19, 100, 196); text-decoration: none; &quot;&gt;Querying the SQL Server System Catalog&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;</description>
      <category>Laboratory/MSSQL</category>
      <author>theking</author>
      <guid isPermaLink="true">https://theking.tistory.com/345</guid>
      <comments>https://theking.tistory.com/345#entry345comment</comments>
      <pubDate>Tue, 2 Aug 2011 09:23:55 +0900</pubDate>
    </item>
  </channel>
</rss>