<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8540483771961367678</id><updated>2012-01-03T11:08:25.669+02:00</updated><category term='UNIX'/><category term='C#'/><category term='linux'/><category term='t-sql'/><category term='linq'/><category term='iphone'/><category term='jQuery'/><category term='MVC'/><category term='CSS'/><category term='python'/><category term='silverlight'/><category term='web'/><category term='SQL Server'/><category term='mac os'/><category term='link'/><category term='windows'/><category term='.net'/><category term='XML'/><category term='pardus'/><category term='objective c'/><category term='blogging'/><category term='Java Script'/><category term='blogs'/><category term='wordpress'/><title type='text'>metafor</title><subtitle type='html'>Bilgi Taknolojileri ve Yazılım Geliştirme</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>76</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-7219836107993949363</id><published>2012-01-03T11:08:00.001+02:00</published><updated>2012-01-03T11:08:25.678+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>date range with recursive cte</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;WITH&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;DATE_RANGE &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;as &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;[date]&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;GETDATE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;()&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;UNION&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;ALL&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATEADD&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;day&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;[date]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DATE_RANGE&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATEADD&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;day&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;[date]&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&amp;lt;=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATEADD&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;day&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;10&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;GETDATE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;())&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;*&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DATE_RANGE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="list-style-type: disc" lang="TR"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;a href="http://lh5.ggpht.com/-o7OvtHktO3k/TwLFhObijnI/AAAAAAAAAMU/S0QT_nh-Nhg/s1600-h/image%25255B2%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-uSXWpGe1XUY/TwLFhsn55hI/AAAAAAAAAMc/61tOAYGVUAM/image_thumb.png?imgmax=800" width="244" height="224" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-7219836107993949363?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/7219836107993949363/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2012/01/date-range-with-recursive-cte.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7219836107993949363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7219836107993949363'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2012/01/date-range-with-recursive-cte.html' title='date range with recursive cte'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-uSXWpGe1XUY/TwLFhsn55hI/AAAAAAAAAMc/61tOAYGVUAM/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-8725552461845503144</id><published>2011-12-26T14:30:00.001+02:00</published><updated>2011-12-26T14:30:27.061+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>the Size Of All Tables</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font color="#0000ff" face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;SET&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; NOCOUNT &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;          &lt;br /&gt;          &lt;br /&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DBCC&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; UPDATEUSAGE(0) &lt;/font&gt;          &lt;br /&gt;          &lt;br /&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#008000"&gt;-- DB size.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font color="#0000ff" face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;EXEC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; sp_spaceused&lt;/font&gt;          &lt;br /&gt;          &lt;br /&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#008000"&gt;-- Table row counts and sizes.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font color="#0000ff" face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;CREATE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;TABLE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt; #t            &lt;br /&gt;(             &lt;br /&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[name] NVARCHAR(128),            &lt;br /&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;[&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;rows&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;] &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;CHAR&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;(11),           &lt;br /&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;reserved &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;(18),            &lt;br /&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;data&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;(18),            &lt;br /&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;index_size &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;(18),           &lt;br /&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;unused &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;(18)           &lt;br /&gt;)             &lt;br /&gt;            &lt;br /&gt;INSERT #t &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;EXEC&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sp_msForEachTable &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#006080"&gt;'EXEC sp_spaceused ''?'''&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;          &lt;br /&gt;          &lt;br /&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; *&lt;/font&gt;          &lt;br /&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160; &lt;/span&gt;#t&lt;/font&gt;          &lt;br /&gt;          &lt;br /&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#008000"&gt;-- # of rows.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font color="#0000ff" face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SUM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;CAST&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;([&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;rows&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;] &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;)) &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;rows&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;]&lt;/font&gt;          &lt;br /&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160; &lt;/span&gt;#t            &lt;br /&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&lt;/span&gt;&lt;/font&gt;          &lt;br /&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DROP&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;TABLE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; #t &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="list-style-type: disc" lang="TR"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-8725552461845503144?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/8725552461845503144/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/12/size-of-all-tables.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8725552461845503144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8725552461845503144'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/12/size-of-all-tables.html' title='the Size Of All Tables'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-7741468067479385490</id><published>2011-12-02T17:20:00.001+02:00</published><updated>2011-12-02T17:20:07.292+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>compare identitcal files of folder</title><content type='html'>&lt;p&gt;:bof&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; @echo off   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; setlocal&lt;/p&gt;  &lt;p&gt;:init   &lt;br /&gt;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; set dirDEST=d:\TEST\NEW\    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; set dirSOURCE=d:\TEST\OLD\&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; if not exist &amp;quot;%dirDEST%&amp;quot; echo dirDEST not found &amp;amp; goto :EOF   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; if not exist &amp;quot;%dirSOURCE%&amp;quot; echo dirSOURCE not found &amp;amp; goto :EOF&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; for /f &amp;quot;delims=&amp;quot; %%a in ('dir /b /a-d &amp;quot;%dirDEST%&amp;quot; 2^&amp;gt;NUL') do if not exist &amp;quot;%dirSOURCE%%%a&amp;quot; echo %%a does not exist in &amp;quot;dirSOURCE&amp;quot;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; for /f &amp;quot;delims=&amp;quot; %%a in ('dir /b /a-d &amp;quot;%dirSOURCE%&amp;quot; 2^&amp;gt;NUL') do if not exist &amp;quot;%dirDEST%%%a&amp;quot; echo %%a does not exist in &amp;quot;dirDEST&amp;quot;&lt;/p&gt;  &lt;p&gt;&amp;#160; &lt;br /&gt;:eof &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-7741468067479385490?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/7741468067479385490/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/12/compare-identitcal-files-of-folder.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7741468067479385490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7741468067479385490'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/12/compare-identitcal-files-of-folder.html' title='compare identitcal files of folder'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-442225796259889178</id><published>2011-11-30T16:35:00.001+02:00</published><updated>2011-11-30T16:35:33.631+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Ad hoc update to system catalogs is not supported</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;EXEC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;sp_configure&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;'show advanced options'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;RECONFIGURE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WITH&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;OVERRIDE&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;EXEC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;sp_configure&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;'xp_cmdshell'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;RECONFIGURE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WITH&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;OVERRIDE&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#800000"&gt;&lt;font style="font-size: 10pt"&gt;sp_configure&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;'Ole Automation Procedures'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;RECONFIGURE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WITH&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;OVERRIDE&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-442225796259889178?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/442225796259889178/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/11/ad-hoc-update-to-system-catalogs-is-not.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/442225796259889178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/442225796259889178'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/11/ad-hoc-update-to-system-catalogs-is-not.html' title='Ad hoc update to system catalogs is not supported'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-994694356008910155</id><published>2011-07-19T09:38:00.001+03:00</published><updated>2011-07-19T09:46:06.201+03:00</updated><title type='text'>Windows Mobile Compact Framework- Executing Path/Directory</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p style="line-height: 13pt; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;System.IO.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#2b91af"&gt;Path&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.GetDirectoryName(System.Reflection.&lt;/font&gt;&lt;span&gt;&lt;font color="#2b91af"&gt;Assembly&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.GetExecutingAssembly().FullName.CodeBase)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: 13pt; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; font-family: ; mso-no-proof: yes"&gt;compact framework does not support&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="font-family: "&gt;&lt;font color="#2b91af"&gt;&lt;font style="font-size: 9.5pt"&gt;AppDomain&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;.CurrentDomain.BaseDirectory&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;System.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span&gt;&lt;font color="#2b91af"&gt;Environment&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.CurrentDirectory&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="font-family: "&gt;&lt;font color="#2b91af"&gt;&lt;font style="font-size: 9.5pt"&gt;Application&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;.StartupPath&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-994694356008910155?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/994694356008910155/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/windows-mobile-compact-framework.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/994694356008910155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/994694356008910155'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/windows-mobile-compact-framework.html' title='Windows Mobile Compact Framework- Executing Path/Directory'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-6744800178253959254</id><published>2011-07-12T14:56:00.001+03:00</published><updated>2011-07-12T14:58:11.379+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>EXECUTE permission was denied on the object</title><content type='html'>&lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;exec&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;sp_grantdbaccess&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'www1-w(username)'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'DBNAME'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;GRANT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;EXECUTE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; objectname&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160; &lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;TO&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;*&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;master&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;database_permissions&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; dp &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;system_objects&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; so&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; dp&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;major_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; so&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; dp&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;class &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1 &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;AND&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; so&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;parent_object_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 0 &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-6744800178253959254?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/6744800178253959254/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/execute-permission-was-denied-on-object.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6744800178253959254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6744800178253959254'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/execute-permission-was-denied-on-object.html' title='EXECUTE permission was denied on the object'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-1988357373605816232</id><published>2011-07-06T14:23:00.001+03:00</published><updated>2011-07-06T14:23:53.564+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Find Running Queries</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;&lt;span style="mso-tab-count: 1"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;sqltext&lt;/font&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#0000ff"&gt;TEXT&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;req&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;session_id&lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;req&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#0000ff"&gt;status&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;req&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;command&lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;req&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;cpu_time&lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;req&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;total_elapsed_time&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="mso-tab-count: 3"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#008000"&gt;dm_exec_requests&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; req&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: 13pt; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="mso-tab-count: 3"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span&gt;&lt;font color="#808080"&gt;CROSS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span&gt;&lt;font color="#808080"&gt;APPLY&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#008000"&gt;dm_exec_sql_text&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#0000ff"&gt;sql_handle&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sqltext&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height: 13pt; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;KILL&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; [session_id]&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-1988357373605816232?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/1988357373605816232/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/find-running-queries.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/1988357373605816232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/1988357373605816232'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/find-running-queries.html' title='Find Running Queries'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-8176057210903616443</id><published>2011-07-04T16:11:00.001+03:00</published><updated>2011-07-04T16:17:04.048+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL SERVER NAME</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff00ff"&gt;@@SERVERNAME&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;Select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;*&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;from&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sysservers&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;where&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; srvid &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 0&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;Select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Host_Name&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;()&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Computer_Name&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;EXEC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#800000"&gt;xp_getNetName&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;CONVERT&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;sysname&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;SERVERPROPERTY&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'servername'&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;))&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-8176057210903616443?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/8176057210903616443/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/sql-server-name.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8176057210903616443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8176057210903616443'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/sql-server-name.html' title='SQL SERVER NAME'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-4642536857019462739</id><published>2011-07-04T09:36:00.001+03:00</published><updated>2011-07-04T09:36:29.695+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='t-sql'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>ALL TABLES Row size and count</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DECLARE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @temp&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160; &lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;TABLE &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;NAME &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;100&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ROWS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;INT&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;RESERVED &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;100&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;DATA &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;100&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;INDEX_SIZE &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;100&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;UNUSED &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;100&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;))&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;INSERT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;INTO&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; @temp &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;EXEC&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;sp_msforEachTable&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot; exec sp_spaceused '?' &amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;*&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; @temp &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-4642536857019462739?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/4642536857019462739/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/all-tables-row-size-and-count.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/4642536857019462739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/4642536857019462739'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/07/all-tables-row-size-and-count.html' title='ALL TABLES Row size and count'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-5215011337234138660</id><published>2011-05-31T09:15:00.001+03:00</published><updated>2011-05-31T09:15:52.434+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>javascript ajax long polling- with jQuery</title><content type='html'>&lt;p&gt;Specific methods of implementing Comet fall into two major categories: streaming and long polling.&lt;/p&gt;  &lt;h5&gt;Streaming&lt;/h5&gt;  &lt;p&gt;An application using streaming Comet opens a single &lt;a href="http://en.wikipedia.org/wiki/Persistent_connection"&gt;persistent connection&lt;/a&gt; from the &lt;a href="http://en.wikipedia.org/wiki/Web_browser"&gt;client browser&lt;/a&gt; to the server for all Comet &lt;a href="http://en.wikipedia.org/wiki/Event_%28computing%29"&gt;events&lt;/a&gt;. These events are incrementally handled and interpreted on the client side every time the server sends a new event, with neither side closing the connection.&lt;sup&gt;&lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#cite_note-WRC-2"&gt;[3]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;  &lt;p&gt;Specific techniques for accomplishing streaming Comet include the following:&lt;/p&gt;  &lt;h6&gt;Hidden iframe&lt;/h6&gt;  &lt;p&gt;A basic technique for dynamic web application is to use a hidden &lt;a href="http://en.wikipedia.org/wiki/Iframe"&gt;iframe&lt;/a&gt; HTML element (an &amp;lt;I&amp;gt;inline frame&amp;lt;/I&amp;gt;, which allows a website to embed one HTML document inside another). This invisible iframe is sent as a &lt;a href="http://en.wikipedia.org/wiki/Chunked_transfer_encoding"&gt;chunked&lt;/a&gt; block, which implicitly declares it as infinitely long (sometimes called “forever frame”). As events occur, the iframe is gradually filled with &lt;code&gt;script&lt;/code&gt; tags, containing JavaScript to be executed in the browser. Because browsers render HTML pages incrementally, each &lt;code&gt;script&lt;/code&gt; tag is executed as it is received.&lt;sup&gt;&lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#cite_note-ajaxoreilly-10"&gt;[11]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;  &lt;p&gt;One benefit of the iframe method is that it works in every common browser. Two downsides of this technique are the lack of a reliable error handling method, and the impossibility of tracking the state of the request calling process.&lt;sup&gt;&lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#cite_note-ajaxoreilly-10"&gt;[11]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;  &lt;h6&gt;XMLHttpRequest&lt;/h6&gt;  &lt;p&gt;The &lt;a href="http://en.wikipedia.org/wiki/XMLHttpRequest"&gt;XMLHttpRequest&lt;/a&gt; (XHR) object, the main tool used by Ajax applications for browser–server communication, can also be pressed into service for server–browser Comet messaging, in a few different ways.&lt;/p&gt;  &lt;p&gt;In 1995, &lt;a href="http://en.wikipedia.org/wiki/Netscape_Navigator"&gt;Netscape Navigator&lt;/a&gt; added a feature called “server push”, which allowed servers to send new versions of an image or HTML page to that browser, as part of a &lt;a href="http://en.wikipedia.org/wiki/MIME#Multipart_messages"&gt;multipart&lt;/a&gt; HTTP response (see &lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#History"&gt;History&lt;/a&gt; section, below), using the content type &lt;code&gt;multipart/x-mixed-replace&lt;/code&gt;. Since 2004, &lt;a href="http://en.wikipedia.org/wiki/Gecko_%28layout_engine%29"&gt;Gecko&lt;/a&gt;-based browsers such as &lt;a href="http://en.wikipedia.org/wiki/Mozilla_Firefox"&gt;Firefox&lt;/a&gt; accept multipart responses to XHR, which can therefore be used as a streaming Comet transport.&lt;sup&gt;&lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#cite_note-11"&gt;[12]&lt;/a&gt;&lt;/sup&gt; On the server side, each message is encoded as a separate portion of the multipart response, and on the client, the &lt;a href="http://en.wikipedia.org/wiki/Callback_%28computer_science%29"&gt;callback function&lt;/a&gt; provided to the XHR &lt;code&gt;onreadystatechange&lt;/code&gt; function will be called as each message arrives. This functionality is only included in Gecko-based browsers, though there is discussion of adding it to &lt;a href="http://en.wikipedia.org/wiki/WebKit"&gt;WebKit&lt;/a&gt;.&lt;sup&gt;&lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#cite_note-12"&gt;[13]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;  &lt;p&gt;Instead of creating a multipart response, and depending on the browser to transparently parse each event, it is also possible to generate a custom data format for an XHR response, and parse out each event using browser-side JavaScript, relying only on the browser firing the &lt;code&gt;onreadystatechange&lt;/code&gt; callback each time it receives new data.&lt;/p&gt;  &lt;h5&gt;Ajax with long polling&lt;/h5&gt;  &lt;p&gt;None of the above streaming transports works across all modern browsers without negative side-effects. This forces Comet developers to implement several complex streaming transports, switching between them depending on the browser. Consequently many Comet applications use long polling, which is easier to implement on the browser side, and works, at minimum, in every browser that supports XHR. As the name suggests, long polling requires the client to poll the server for an event (or set of events). The browser makes an Ajax-style request to the server, which is kept open until the server has new data to send to the browser, which is sent to the browser in a complete response. The browser initiates a new long polling request in order to obtain subsequent events.&lt;/p&gt;  &lt;p&gt;Specific technologies for accomplishing long-polling include the following:&lt;/p&gt;  &lt;h6&gt;XMLHttpRequest long polling&lt;/h6&gt;  &lt;p&gt;For the most part, XMLHttpRequest long polling works like any standard use of XHR. The browser makes an asynchronous request of the server, which may wait for data to be available before responding. The response can contain encoded data (typically &lt;a href="http://en.wikipedia.org/wiki/XML"&gt;XML&lt;/a&gt; or &lt;a href="http://en.wikipedia.org/wiki/JSON"&gt;JSON&lt;/a&gt;) or Javascript to be executed by the client. At the end of the processing of the response, the browser creates and sends another XHR, to await the next event. Thus the browser always keeps a request outstanding with the server, to be answered as each event occurs.&lt;/p&gt;  &lt;h6&gt;Script tag long polling&lt;/h6&gt;  &lt;p&gt;While any Comet transport can be made to work across &lt;a href="http://en.wikipedia.org/wiki/Subdomains"&gt;subdomains&lt;/a&gt;, none of the above transports can be used across different &lt;a href="http://en.wikipedia.org/wiki/Second-level_domain"&gt;second-level domains&lt;/a&gt; (SLDs), due to browser security policies designed to prevent &lt;a href="http://en.wikipedia.org/wiki/Cross-site_scripting"&gt;cross-site scripting&lt;/a&gt; attacks.&lt;sup&gt;&lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#cite_note-xss-13"&gt;[14]&lt;/a&gt;&lt;/sup&gt; That is, if the main web page is served from one SLD, and the Comet server is located at another SLD, Comet events cannot be used to modify the HTML and DOM of the main page, using those transports. This problem can be side-stepped by creating a &lt;a href="http://en.wikipedia.org/wiki/Proxy_server"&gt;proxy server&lt;/a&gt; in front of one or both sources, making them appear to originate from the same domain. However, this is often undesirable for complexity or performance reasons.&lt;/p&gt;  &lt;p&gt;Unlike iframes or XMLHttpRequest objects, &lt;code&gt;script&lt;/code&gt; tags can be pointed at any &lt;a href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier"&gt;URI&lt;/a&gt;, and JavaScript code in the response will be executed in the current HTML document. This creates a potential security risk for both servers involved, though the risk to the data provider (in our case, the Comet server) can be avoided using &lt;a href="http://en.wikipedia.org/wiki/JSONP"&gt;JSONP&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;A long-polling Comet transport can be created by dynamically creating &lt;code&gt;script&lt;/code&gt; elements, and setting their source to the location of the Comet server, which then sends back JavaScript (or JSONP) with some event as its payload. Each time the script request is completed, the browser opens a new one, just as in the XHR long polling case. This method has the advantage of being cross-browser while still allowing cross-domain implementations.&lt;sup&gt;&lt;a href="http://en.wikipedia.org/wiki/Comet_%28programming%29#cite_note-xss-13"&gt;[14]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;  &lt;p&gt;&lt;sup&gt;&lt;/sup&gt;&lt;/p&gt;  &lt;p&gt;&lt;sup&gt;referrer : &lt;a title="http://en.wikipedia.org/wiki/Comet_%28programming%29" href="http://en.wikipedia.org/wiki/Comet_%28programming%29"&gt;http://en.wikipedia.org/wiki/Comet_%28programming%29&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#800000"&gt;script&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;type&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#0000ff"&gt;=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;$(document).ready(&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;function&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; () {&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;var&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ctr = 1;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;$.PeriodicalUpdater(&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;'&lt;span style="background-image: none; list-style-type: disc; background-attachment: scroll; background-repeat: repeat; background-position: 0% 0%; mso-highlight: yellow"&gt;&lt;font style="background-color: #ffff00"&gt;@&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;Url.Content(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot;~/SupportService/MessageQueue&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;)&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;'&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, {&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;minTimeout: 10 * 1000,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;maxTimeout: 10 * 60 * 1000,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;multiplier: 2.3,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;type: &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;'json'&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;data: &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;function&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; () { &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;return&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ctr++; },&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;cache: &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#0000ff"&gt;true&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}, &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;function&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (data) {&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;$(&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;'#curtime'&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;).html(data.curtime);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;});&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;});&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#800000"&gt;script&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#0000ff" face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#0000ff" face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;jsfile : &lt;a title="https://github.com/RobertFischer/JQuery-PeriodicalUpdater/" href="https://github.com/RobertFischer/JQuery-PeriodicalUpdater/"&gt;https://github.com/RobertFischer/JQuery-PeriodicalUpdater/&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#0000ff" face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;demo&amp;#160;&amp;#160; : &lt;a title="http://demo.smokejumperit.com/demo.html" href="http://demo.smokejumperit.com/demo.html"&gt;http://demo.smokejumperit.com/demo.html&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#0000ff" face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;h1 style="line-height: normal; list-style-type: disc"&gt;&lt;a style="list-style-type: disc" href="https://github.com/RobertFischer"&gt;&lt;font color="#0066cc" face="Times New Roman"&gt;&lt;u&gt;RobertFischer&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face="Times New Roman"&gt;&lt;font color="#000000"&gt; / &lt;/font&gt;&lt;strong style="list-style-type: disc"&gt;&lt;a style="list-style-type: disc" href="https://github.com/RobertFischer/JQuery-PeriodicalUpdater"&gt;&lt;font color="#0066cc"&gt;&lt;u&gt;JQuery-PeriodicalUpdater&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;/strong&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/h1&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#0000ff" face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt;A port of Prototype's &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 12pt"&gt;&lt;code style="list-style-type: disc"&gt;Ajax.PeriodicalUpdater&lt;/code&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 12pt" face="Times New Roman"&gt; function to jQuery.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt;Basically, this function polls some remote service at fairly regular internvals, and (optionally) processes the result via a callback. The period of calls will decay as long as the same response keeps coming back from the server (either in the form of repeated data or in the form of a 304 Not Modified status), which reduces the load on the server naturally. The first Ajax call happens as a page 'onReady' handler (ie: the &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 12pt"&gt;&lt;code style="list-style-type: disc"&gt;jQuery(function)&lt;/code&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 12pt" face="Times New Roman"&gt; call), so it is safe to put the PeriodicalUpdater call anywhere on the page.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt;Usage: $.PeriodicalUpdater('/path/to/service', { method: 'get', // method; get or post data: '', // array of values to be passed to the page - e.g. {name: &amp;quot;John&amp;quot;, greeting: &amp;quot;hello&amp;quot;} minTimeout: 1000, // starting value for the timeout in milliseconds maxTimeout: 8000, // maximum length of time between requests multiplier: 2, // the amount to expand the timeout by if the response hasn't changed (up to maxTimeout) type: 'text', // response type - text, xml, json, etc. See $.ajax config options maxCalls: 0, // maximum number of calls. 0 = no limit. autoStop: 0 // automatically stop requests after this many returns of the same data. 0 = disabled. }, function(remoteData, success, xhr, handle) { // Process the new data (only called when there was a change) });&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt;The &amp;quot;data&amp;quot; value can be one of three things:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;ul style="line-height: normal; list-style-type: disc; margin-left: 30pt"&gt;   &lt;li style="list-style-type: disc"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt;A scalar, in which case it will be used constantly.&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;    &lt;li style="list-style-type: disc"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt;A JSON map/object, in which case it will be turned into key/value pairs by jQuery&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;    &lt;li style="list-style-type: disc"&gt;&lt;font color="#000000" face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt;An anonymous function, in which case it will be executed before each AJAX call. See &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 12pt"&gt;&lt;a style="list-style-type: disc" href="http://api.jquery.com/jQuery.ajax/"&gt;&lt;font color="#0066cc" face="Times New Roman"&gt;&lt;u&gt;jQuery.ajax&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt; for more information.&lt;/font&gt;&lt;/font&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt;Any of the other standard $.ajax configuration options can be passed to the setting map.       &lt;br /&gt;The only exception is the flag that treats modifications as errors. That’s always going to be 'true'.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt;The function call returns a handle. You can call &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 12pt"&gt;&lt;code style="list-style-type: disc"&gt;.stop()&lt;/code&gt;&lt;font color="#000000" face="Times New Roman"&gt; on this handle in order to stop the updating and ignore any subsequent responses. If the maximum number of calls, &lt;/font&gt;&lt;code style="list-style-type: disc"&gt;.stop()&lt;/code&gt;&lt;font color="#000000" face="Times New Roman"&gt;, or the autoStop has been triggered, you can restart the updater using &lt;/font&gt;&lt;code style="list-style-type: disc"&gt;.restart()&lt;/code&gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 12pt" face="Times New Roman"&gt; on the handle. This handle is also passed into the callback function as the fourth argument.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" face="Times New Roman"&gt;&lt;font style="font-size: 12pt"&gt;More info, including advantages over 360innovate version, see &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 12pt"&gt;&lt;a style="list-style-type: disc" href="http://enfranchisedmind.com/blog/posts/jquery-periodicalupdater/"&gt;&lt;font color="#0066cc" face="Times New Roman"&gt;&lt;u&gt;the blog post on EnfranchisedMind&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face="Times New Roman"&gt;&lt;font style="font-size: 12pt" color="#000000"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;referrer: &lt;a title="https://github.com/RobertFischer/JQuery-PeriodicalUpdater/blob/master/README.md" href="https://github.com/RobertFischer/JQuery-PeriodicalUpdater/blob/master/README.md"&gt;https://github.com/RobertFischer/JQuery-PeriodicalUpdater/blob/master/README.md&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc"&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;&amp;#160;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-5215011337234138660?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/5215011337234138660/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/javascript-ajax-long-polling-with.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/5215011337234138660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/5215011337234138660'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/javascript-ajax-long-polling-with.html' title='javascript ajax long polling- with jQuery'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-6036979500991980136</id><published>2011-05-26T09:51:00.001+03:00</published><updated>2011-05-26T09:53:49.081+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Razor render- MVC3 View Render to String</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;static&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; RazorRender(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;Controller&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; context, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DefaultAction)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Cache = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.Empty;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;System.Text.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;StringBuilder&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sb = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; System.Text.&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;StringBuilder&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;System.IO.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;TextWriter&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tw = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; System.IO.&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;StringWriter&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(sb);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;RazorView&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; view_ = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;RazorView&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(context.ControllerContext, DefaultAction, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;null&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;false&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;null&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;view_.Render(&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewContext&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(context.ControllerContext, view_, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewDataDictionary&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(), &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;TempDataDictionary&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(), tw), tw);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;Cache = sb.ToString();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;return&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Cache;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;static&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; RenderRazorViewToString(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; viewName, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;object&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; model)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;ViewData.Model = model;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;using&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;var&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sw = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; StringWriter())&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;var&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; viewResult = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewEngines&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.Engines.FindPartialView(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ControllerContext&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, viewName);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;var&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; viewContext = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewContext&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ControllerContext&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, viewResult.View, ViewData, TempData, sw);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;viewResult.View.Render(viewContext, sw);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;return&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sw.GetStringBuilder().ToString();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-bidi-font-family: consolas"&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;static&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;class&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#2b91af"&gt;HtmlHelperExtensions&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;static&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; RenderPartialToString(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ControllerContext&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; context, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;string&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; partialViewName, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewDataDictionary&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; viewData, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;TempDataDictionary&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tempData)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewEngineResult&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; result = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewEngines&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.Engines.FindPartialView(context, partialViewName);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (result.View != &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;null&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;StringBuilder sb = &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; StringBuilder();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;using&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (StringWriter sw = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; StringWriter(sb))&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;using&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (HtmlTextWriter output = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; HtmlTextWriter(sw))&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewContext&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; viewContext = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;ViewContext&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(context, result.View, viewData, tempData, output);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;result.View.Render(viewContext, output);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;return&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sb.ToString();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;return&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;String&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.Empty;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-6036979500991980136?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/6036979500991980136/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/razor-render-mvc3-view-render-to-string.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6036979500991980136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6036979500991980136'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/razor-render-mvc3-view-render-to-string.html' title='Razor render- MVC3 View Render to String'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-2717216919780396268</id><published>2011-05-11T10:23:00.001+03:00</published><updated>2011-05-11T10:23:08.400+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Performance counter registry hive consistency Problem</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;font color="#000000"&gt;.Format(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot;{0,3}&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;CultureInfo&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.InstalledUICulture.Parent.LCID.ToString(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot;X&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;)).Replace(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot; &amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot;0&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#000000" face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#000000" face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;referer:&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;a title="http://connect.microsoft.com/SQLServer/feedback/details/312847/performance-counter-registry-hive-consistency-check-failed-at-traditional-chinese-windows-server-2003" href="http://connect.microsoft.com/SQLServer/feedback/details/312847/performance-counter-registry-hive-consistency-check-failed-at-traditional-chinese-windows-server-2003"&gt;http://connect.microsoft.com/SQLServer/feedback/details/312847/performance-counter-registry-hive-consistency-check-failed-at-traditional-chinese-windows-server-2003&lt;/a&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font color="#000000" face="Consolas"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;a title="http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/performance-counter-registry-hive-consistency/1b7be71f-7682-4204-8be0-80b2eaf0be67" href="http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/performance-counter-registry-hive-consistency/1b7be71f-7682-4204-8be0-80b2eaf0be67"&gt;http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/performance-counter-registry-hive-consistency/1b7be71f-7682-4204-8be0-80b2eaf0be67&lt;/a&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&amp;#160;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;a title="http://blogs.msdn.com/b/joaol/archive/2008/12/18/sql-server-2008-performance-counters-registry-hive-consistency-fails-on-non-english-operating-systems.aspx" href="http://blogs.msdn.com/b/joaol/archive/2008/12/18/sql-server-2008-performance-counters-registry-hive-consistency-fails-on-non-english-operating-systems.aspx"&gt;http://blogs.msdn.com/b/joaol/archive/2008/12/18/sql-server-2008-performance-counters-registry-hive-consistency-fails-on-non-english-operating-systems.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-2717216919780396268?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/2717216919780396268/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/performance-counter-registry-hive.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/2717216919780396268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/2717216919780396268'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/performance-counter-registry-hive.html' title='Performance counter registry hive consistency Problem'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-4742181262814329398</id><published>2011-05-09T13:45:00.001+03:00</published><updated>2011-05-09T13:45:05.410+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>difference between two date–iki tarih arasındaki zaman farkı</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; string LoopAge&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; FutureDate&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; years &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 0&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; months &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 0&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;days&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 0&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tmpMyDOB &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; new &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Year&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Month&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;);&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tmpFutureDate &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; new &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Year&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Month&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;);&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;while &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;tmpMyDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;AddYears&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;years&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;).&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;AddMonths&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;months&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tmpFutureDate&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;months&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;++;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;months &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 12&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;years&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;++;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;months &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; months &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;-&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 12&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Day&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Day&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;days&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;days&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Day&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;-&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Day&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;else&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;months&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#008000"&gt;--;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;months &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;lt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 0&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;years&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#008000"&gt;--;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;months &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; months &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 12&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;days&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;days&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;DaysInMonth&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;AddMonths&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(-&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;).&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Year&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;AddMonths&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(-&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;).&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Month&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Day&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;-&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Day&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;//&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;add&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; an extra &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;day&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; the dob &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;is&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; a leap &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff00ff"&gt;day&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;IsLeapYear&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Year&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;amp;&amp;amp;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Month&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;==&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 2 &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;amp;&amp;amp;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Day&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;==&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 29&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;//&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;but only &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; the future &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;date&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;is&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; less than 1st March&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FutureDate &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; new &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FutureDate&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;Year&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 3&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;))&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;days&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;++;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;return&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &amp;quot;Years: &amp;quot; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; years &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &amp;quot; Months: &amp;quot; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; months &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &amp;quot; Days: &amp;quot; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;days&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-bottom: 1pt; line-height: normal; list-style-type: disc; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div; mso-border-bottom-alt: solid windowtext .75pt"&gt;   &lt;p style="border-bottom: medium none; border-left: medium none; padding-bottom: 0cm; line-height: 13pt; list-style-type: disc; margin: 0cm 0cm 10pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 0cm 0cm 1.0pt 0cm" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;/div&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;void&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; LoopAge(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; myDOB, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; FutureDate)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; years = 0;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; months = 0;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; days = 0;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tmpMyDOB = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(myDOB.Year, myDOB.Month, 1);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tmpFutureDate = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(FutureDate.Year, FutureDate.Month, 1);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;while&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (tmpMyDOB.AddYears(years).AddMonths(months) &amp;lt; tmpFutureDate)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;months++;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (months &amp;gt; 12)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;years++;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;months = months - 12;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (FutureDate.Day &amp;gt;= myDOB.Day)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;days = days + FutureDate.Day - myDOB.Day;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#0000ff"&gt;else&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;months--;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (months &amp;lt; 0)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;years--;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;months = months + 12;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;days +=&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.DaysInMonth(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;FutureDate.AddMonths(-1).Year, FutureDate.AddMonths(-1).Month&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;) + FutureDate.Day - myDOB.Day;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#008000"&gt;//add an extra day if the dob is a leap day&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.IsLeapYear(myDOB.Year) &amp;amp;&amp;amp; myDOB.Month == 2 &amp;amp;&amp;amp; myDOB.Day == 29)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#008000"&gt;//but only if the future date is less than 1st March&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (FutureDate &amp;gt;= &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DateTime&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(FutureDate.Year, 3, 1))&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;days++;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-4742181262814329398?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/4742181262814329398/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/difference-between-two-dateiki-tarih.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/4742181262814329398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/4742181262814329398'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/difference-between-two-dateiki-tarih.html' title='difference between two date–iki tarih arasındaki zaman farkı'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-2801968272267432261</id><published>2011-05-09T10:27:00.001+03:00</published><updated>2011-05-09T10:27:32.217+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>C# TSQL Assembly  Code</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt; System;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt; System.Data;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt; System.Data.SqlClient;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt; System.Data.SqlTypes;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt; Microsoft.SqlServer.Server;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 9.5pt"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;partial&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;class&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#2b91af"&gt;UserDefinedFunctions&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;[Microsoft.SqlServer.Server.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;SqlFunction&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;]&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;static&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;SqlString&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; datediff2()&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#008000"&gt;// Put your code here&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;return&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;SqlString&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot;Hello&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;};&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#800000"&gt;&lt;font style="font-size: 10pt"&gt;sp_configure&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;'clr enabled'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;GO&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;RECONFIGURE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;GO&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;ALTER&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DATABASE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [AngelAdmin] &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SET&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;TRUSTWORTHY&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;GO&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;CREATE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;Function&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; datediff2&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;()&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;RETURNS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;NVARCHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1024&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;EXTERNAL&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; NAME TASQLHelper&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;UserDefinedFunctions&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;datediff2&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;datediff2&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;()&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-2801968272267432261?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/2801968272267432261/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/c-tsql-assembly-code.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/2801968272267432261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/2801968272267432261'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/05/c-tsql-assembly-code.html' title='C# TSQL Assembly  Code'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-7593185912921817635</id><published>2011-04-20T16:55:00.001+03:00</published><updated>2011-04-20T16:55:33.085+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL JOIN TABLE VALUE TO STRING</title><content type='html'>&lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;STUFF&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;((&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;','&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;+&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ISMI &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; MAGAZA_TANIM &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FOR&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;XML&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;PATH&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)),&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;ANKARA&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ISTANBUL&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;IZMIR&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;....&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-7593185912921817635?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/7593185912921817635/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/sql-join-table-value-to-string.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7593185912921817635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7593185912921817635'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/sql-join-table-value-to-string.html' title='SQL JOIN TABLE VALUE TO STRING'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-7875743998692826903</id><published>2011-04-16T13:21:00.001+03:00</published><updated>2011-04-16T13:21:56.795+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Split string with parsename- sql virtual array</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DECLARE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @test &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;nvarchar&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;256&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;)=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'lorem.er.deneme.test'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@test&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@test&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;3&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@test&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;2&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@test&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;4&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;&lt;font color="#808080" size="2" face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;&lt;font color="#808080" size="2" face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;&lt;a href="http://lh6.ggpht.com/_KmfobaI-P2U/TaltwKwUJ-I/AAAAAAAAAHA/lojYURT9EqQ/s1600-h/image%5B5%5D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 10px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_KmfobaI-P2U/Taltw5ne5HI/AAAAAAAAAHE/za2PuSfLB7w/image_thumb%5B3%5D.png?imgmax=800" width="547" height="155" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DECLARE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @FullName &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;NVARCHAR&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;500&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SET&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @FullName &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;N'Flintstone, Mr.Fred, Jr'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; color: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FName&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 3&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &amp;quot;Title&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FName&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 2&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &amp;quot;FirstName&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FName&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 4&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &amp;quot;LastName&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;PARSENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FName&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &amp;quot;Prefix&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;FROM &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff00ff"&gt;REPLACE&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@FullName&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff0000"&gt;', '&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#ff0000"&gt;'.'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;))&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; D&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;FName&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080" size="2" face="Courier New"&gt;&lt;span style="list-style-type: disc; color: "&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0in 0in 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080" size="2" face="Courier New"&gt;&lt;span style="list-style-type: disc; color: "&gt;&amp;#160;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-7875743998692826903?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/7875743998692826903/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/split-string-with-parsename-sql-virtual.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7875743998692826903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7875743998692826903'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/split-string-with-parsename-sql-virtual.html' title='Split string with parsename- sql virtual array'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_KmfobaI-P2U/Taltw5ne5HI/AAAAAAAAAHE/za2PuSfLB7w/s72-c/image_thumb%5B3%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-4369481182422943670</id><published>2011-04-15T13:54:00.001+03:00</published><updated>2011-04-15T13:54:26.344+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>T-SQL DATENAME Turkish–Türkçe gün isimleri</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DayOfWeek&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATEPART&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DayNum&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ExecutionLogs&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;GROUP&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;BY&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATEPART&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;DayOfWeek&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;DayNum&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;------------------------------ -----------&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Wednesday&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;4&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Tuesday&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;3&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Sunday&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;1&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Friday&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;6&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Thursday&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;5&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Saturday&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;7&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Monday&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;2&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;(7 row(s) affected)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SET&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;LANGUAGE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Turkish&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DayOfWeek&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATEPART&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DayNum&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ExecutionLogs&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;GROUP&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;BY&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATENAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;),&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;DATEPART&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dw&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; TimeStart&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Changed language setting to Türkçe.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;DayOfWeek&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;DayNum&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;------------------------------ -----------&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Perşembe&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;4&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Pazartesi&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;1&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Pazar&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;7&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Salı&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;2&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Cumartesi&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;6&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Cuma&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;5&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Çarşamba&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;3&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;(7 row(s) affected)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-4369481182422943670?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/4369481182422943670/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/t-sql-datename-turkishturkce-gun.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/4369481182422943670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/4369481182422943670'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/t-sql-datename-turkishturkce-gun.html' title='T-SQL DATENAME Turkish–Türkçe gün isimleri'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-8990109456892574594</id><published>2011-04-15T10:54:00.001+03:00</published><updated>2011-04-15T10:54:49.894+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>T-SQL system stored procedures 1</title><content type='html'>&lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;EXEC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#800000"&gt;sp_spaceused&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;EXEC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;sp_spaceused&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;table_name&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;database_name&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;database_size&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;unallocated space&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;-------------------------------------------------------------------------------------------------------------------------------- ------------------ ------------------&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;master&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;5.25 MB&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;1.52 MB&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;reserved&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;data&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;index_size&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;unused&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;------------------ ------------------ ------------------ ------------------&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;2536 KB&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;1160 KB&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&lt;/span&gt;1040 KB&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;336 KB&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Shrink log file &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;USE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; [master]&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;GO&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;ALTER&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DATABASE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [REPORT] &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SET&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;RECOVERY&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SIMPLE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WITH&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; NO_WAIT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DBCC&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; SHRINKFILE&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ANGEL_log&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;ALTER&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;DATABASE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [REPORT] &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SET&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;RECOVERY&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FULL&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WITH&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; NO_WAIT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;GO&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Change Server Name –SQL Server Instance adını değiştirme &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;@@SERVERNAME&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'Server Name'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#800000"&gt;&lt;font style="font-size: 10pt"&gt;sp_dropserver&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'OLD_NAME'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;GO&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#800000"&gt;&lt;font style="font-size: 10pt"&gt;sp_addserver&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;'NEW_NAME'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;local&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;GO&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-bottom: 1pt; line-height: normal; list-style-type: disc; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-element: para-border-div; mso-border-bottom-alt: solid windowtext .75pt"&gt;   &lt;p style="border-bottom: medium none; border-left: medium none; padding-bottom: 0cm; line-height: 13pt; list-style-type: disc; margin: 0cm 0cm 10pt; padding-left: 0cm; padding-right: 0cm; border-top: medium none; border-right: medium none; padding-top: 0cm; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 0cm 0cm 1.0pt 0cm" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Restart sql server instance&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Adding Custom error message &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;Exec&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#800000"&gt;sp_addmessage&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;@msgnum&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;50002&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;@severity&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;12&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;@msgtext&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;'error while %s description ;'&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;@with_log&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;'False'&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&lt;/span&gt;@replace&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'replace'&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;select&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;*&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;from&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#008000"&gt;messages&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;send mail to operator &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;EXECUTE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;msdb&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#800000"&gt;sp_notify_operator&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;@name&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'operator name'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@subject&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'subject of mail'&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;@body&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;N'content of mail message'&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;Requests of sql server **&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;r&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;session_id&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;r&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;blocking_session_id&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;s&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;program_name&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;s&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;host_name&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;t&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;text&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;dm_exec_requests&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; r&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;INNER&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;dm_exec_sessions&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; s &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; r&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;session_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; s&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;session_id&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;CROSS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;APPLY&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;dm_exec_sql_text&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;r&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;sql_handle&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; t&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;s&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;is_user_process &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; 1&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 8pt" color="#000000"&gt;report server subscription- agent list&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;Schedule&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ScheduleID &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; SubscriptionID&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;Subscriptions&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;.*,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;Schedule&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ScheduleID &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; SQLAgent_Job_Name&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 3"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;Subscriptions&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;Description&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sub_desc&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Subscriptions&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;DeliveryExtension &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; sub_delExt&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;[Catalog]&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;Name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportName&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [Catalog]&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;Path&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportPath&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;FROM&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;ReportServer&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ReportSchedule &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;INNER&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportServer&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;Schedule &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportServer&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ReportSchedule&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ScheduleID &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Schedule&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ScheduleID &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;INNER&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportServer&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;Subscriptions &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportServer&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ReportSchedule&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;SubscriptionID &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Subscriptions&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;SubscriptionID &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;INNER&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportServer&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;[Catalog] &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ReportServer&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;dbo&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ReportSchedule&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ReportID &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [Catalog]&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ItemID &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;AND&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Subscriptions&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;Report_OID &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [Catalog]&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;ItemID&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt" color="#000000"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;Subscriptions&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;DeliveryExtension &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;'Report Server Email'&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="line-height: 9pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-8990109456892574594?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/8990109456892574594/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/t-sql-system-stored-procedures-1.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8990109456892574594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8990109456892574594'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/t-sql-system-stored-procedures-1.html' title='T-SQL system stored procedures 1'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-6106927365596210195</id><published>2011-04-15T10:28:00.001+03:00</published><updated>2011-04-15T10:28:51.917+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>compare two tables dynamic- tablo sütunları karşılaştırma</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DECLARE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @dbname1 &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;nvarchar&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;48&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;N'ERP'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DECLARE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @dbname2 &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;nvarchar&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;48&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;N'AERP'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;DECLARE&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; @TableName &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;nvarchar&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;48&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;N'FATURA'&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font style="font-size: 10pt" color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;*&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;FROM &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;@dbname1 &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DBNAME&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;clmns&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [Name]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;usrt&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [DataType]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;ISNULL&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N''&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [SystemType]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;CAST&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;CASE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WHEN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;IN&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'nchar'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'nvarchar'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;AND&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;max_length &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;-&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1 &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;THEN&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;clmns&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;max_length&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;/&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;2 &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ELSE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;max_length &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;END&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [Length]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;CAST&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;precision&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [NumericPrecision]&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;ERP&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;tables&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tbl&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;INNER&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;all_columns&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;tbl&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;LEFT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;OUTER&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;types&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; usrt &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; usrt&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;LEFT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;OUTER&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;types&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;system_type_id &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;and&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;baset&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;system_type_id&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;tbl&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@TableName &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;and&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;SCHEMA_NAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;tbl&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;schema_id&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'dbo'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ERP&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080"&gt;&lt;font style="font-size: 10pt"&gt;LEFT&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;@dbname2 &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;as&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DBNAME&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;clmns&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [Name]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;usrt&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [DataType]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;ISNULL&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N''&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [SystemType]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;CAST&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;CASE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;WHEN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;IN&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'nchar'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'nvarchar'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;AND&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;max_length &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;-&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;1 &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;THEN&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;clmns&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;max_length&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;/&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;2 &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ELSE&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;max_length &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;END&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [Length]&lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;,&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;CAST&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;precision&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; [NumericPrecision]&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;AERP&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;tables&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; tbl&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;INNER&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; AERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;all_columns&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;tbl&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#ff00ff"&gt;object_id&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;LEFT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;OUTER&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; AERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;types&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; usrt &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; usrt&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;LEFT&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;OUTER&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;JOIN&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; AERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;sys&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#008000"&gt;types&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clmns&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;system_type_id &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#808080"&gt;and&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;baset&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;user_type_id &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; baset&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;system_type_id&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#0000ff"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font style="font-size: 10pt"&gt;&lt;font color="#000000"&gt;tbl&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;name&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;@TableName &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;and&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;SCHEMA_NAME&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;(&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;tbl&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff00ff"&gt;schema_id&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)=&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#ff0000"&gt;N'dbo'&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; AERP&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 1"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ON&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; ERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;Name &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;=&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; AERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;Name&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0cm 0cm 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 2"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 10pt" color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; list-style-type: disc; margin: 0cm 0cm 10pt" class="MsoNormal"&gt;&lt;span style="line-height: 12pt; list-style-type: disc; font-family: ; mso-no-proof: yes"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-tab-count: 3"&gt;&lt;font style="font-size: 10pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 10pt"&gt;ERP&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 10pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;[Length] &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; AERP&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#808080"&gt;.&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;[Length]&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-6106927365596210195?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/6106927365596210195/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/compare-two-tables-dynamic-tablo_15.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6106927365596210195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6106927365596210195'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/04/compare-two-tables-dynamic-tablo_15.html' title='compare two tables dynamic- tablo sütunları karşılaştırma'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-6205310622733137885</id><published>2011-03-11T23:19:00.001+02:00</published><updated>2011-03-11T23:20:47.360+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL SERVER DBCC</title><content type='html'>&lt;p&gt;&lt;br /&gt;exec sp_who2     &lt;br /&gt;kill 54&lt;/p&gt;&lt;p&gt;DBCC PAGE (db, 1, 26839, 1)    &lt;br /&gt;DBCC CHECKDB(db, REPAIR_ALLOW_DATA_LOSS)     &lt;br /&gt;alter database db set MULTI_USER&lt;/p&gt;&lt;p&gt;;--------------&lt;/p&gt;&lt;p&gt;The error is pretty benign - it's not an actual corruption. It's saying that the PFS (Page Free Space) entry for that page has the wrong amount of free space noted - 100% instead of 0%. All this means is that the page may be picked up be a free-space scanner looking to insert data into a text page and it will find the page is actually full and move on to the next page.&lt;/p&gt;&lt;p&gt;All repair will do is set the correct free space setting, but you'll need to take the database into single-user mode (essentially offline) to do it.&lt;/p&gt;&lt;p&gt;These errors occured reasonably frequently on SQL 2000 as the algorithm to keep track of free space (only tracked for heap and text pages) had some holes in it. They should be fixed in 2005. Is this database recently upgraded from 2000, or is this the first time CHECKDB has been run since it was upgraded?&lt;/p&gt;&lt;p&gt;To use DBCC PAGE, you need to specify the database name too:&lt;/p&gt;&lt;p&gt;DBCC PAGE ('DATABASENAME', 1, 26839, 1)&lt;/p&gt;&lt;p&gt;should do it for you.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;-------------------------------------------------------&lt;/p&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;alter database db set SINGLE_USER;&lt;/p&gt;&lt;p&gt;DBCC CHECKDB('db', REPAIR_REBUILD);&lt;/p&gt;&lt;p&gt;alter database db set MULTI_USER;&lt;/p&gt;&lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/aa226363%28v=sql.80%29.aspx" href="http://msdn.microsoft.com/en-us/library/aa226363%28v=sql.80%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa226363%28v=sql.80%29.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/ms188236.aspx" href="http://msdn.microsoft.com/en-us/library/ms188236.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms188236.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/ms345598.aspx" href="http://msdn.microsoft.com/en-us/library/ms345598.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms345598.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a title="http://www.cryer.co.uk/brian/sqlserver/howto_start_single_user_mode.htm" href="http://www.cryer.co.uk/brian/sqlserver/howto_start_single_user_mode.htm"&gt;http://www.cryer.co.uk/brian/sqlserver/howto_start_single_user_mode.htm&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a title="http://publib.boulder.ibm.com/tividd/td/BSM/SC32-9084-00/en_US/HTML/bsmd242.htm" href="http://publib.boulder.ibm.com/tividd/td/BSM/SC32-9084-00/en_US/HTML/bsmd242.htm"&gt;http://publib.boulder.ibm.com/tividd/td/BSM/SC32-9084-00/en_US/HTML/bsmd242.htm&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a title="http://www.sql-server-pro.com/dbcc-checkdb.html" href="http://www.sql-server-pro.com/dbcc-checkdb.html"&gt;http://www.sql-server-pro.com/dbcc-checkdb.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/ms176064.aspx" href="http://msdn.microsoft.com/en-us/library/ms176064.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms176064.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/aa258278%28v=sql.80%29.aspx" href="http://msdn.microsoft.com/en-us/library/aa258278%28v=sql.80%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa258278%28v=sql.80%29.aspx&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-6205310622733137885?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/6205310622733137885/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/03/sql-server-dbcc.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6205310622733137885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6205310622733137885'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/03/sql-server-dbcc.html' title='SQL SERVER DBCC'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-19484879142653097</id><published>2011-01-15T19:33:00.001+02:00</published><updated>2011-01-15T19:33:23.778+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Aero Style Forms</title><content type='html'>&lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font color="#0000ff"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;#region&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt; ----- Aero Form&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;[System.Runtime.InteropServices.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;StructLayout&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(System.Runtime.InteropServices.&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;LayoutKind&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.Sequential)]&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;struct&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#2b91af"&gt;MARGINS&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Left;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Right;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Top;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; Bottom;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;private&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;MARGINS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; margins;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;[System.Runtime.InteropServices.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DllImport&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot;dwmapi.dll&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, PreserveSig = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;false&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;)]&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;static&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;extern&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;void&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DwmExtendFrameIntoClientArea&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;IntPtr&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; hwnd, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ref&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;MARGINS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; margins);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;[System.Runtime.InteropServices.&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;DllImport&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#a31515"&gt;&amp;quot;dwmapi.dll&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;, PreserveSig = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;false&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;)]&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;public&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;static&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;extern&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;bool&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; DwmIsCompositionEnabled();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;protected&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;override&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;void&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; OnLoad(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;EventArgs&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;base&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.OnLoad(e);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (DwmIsCompositionEnabled())&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#008000"&gt;// Paint the glass effect.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;margins = &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;MARGINS&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;margins.Top = 50;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;DwmExtendFrameIntoClientArea(&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;this&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.Handle, &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;ref&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; margins);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;protected&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;override&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;void&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; OnPaintBackground(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;PaintEventArgs&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;base&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.OnPaint(e);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;if&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; (DwmIsCompositionEnabled())&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#008000"&gt;// paint background black to enable include glass regions&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;e.Graphics.Clear(&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;Color&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.Black);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="list-style-type: disc"&gt;&lt;font style="font-size: 9.5pt" color="#008000"&gt;// revert the non-glass rectangle back to it's original colour&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;Rectangle&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; clientArea = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;Rectangle&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;margins.Left,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;margins.Top,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;this&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.ClientRectangle.Width - margins.Left - margins.Right,&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font color="#000000"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;this&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.ClientRectangle.Height - margins.Top - margins.Bottom&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="font-size: 9.5pt"&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;Brush&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; b = &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#2b91af"&gt;SolidBrush&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;(&lt;/font&gt;&lt;span style="list-style-type: disc"&gt;&lt;font color="#0000ff"&gt;this&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000"&gt;.BackColor);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;e.Graphics.FillRectangle(b, clientArea);&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#000000"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font style="font-size: 9.5pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt; mso-layout-grid-align: none" class="MsoNormal"&gt;&lt;span style="list-style-type: disc; font-family: "&gt;&lt;font face="Consolas"&gt;&lt;font color="#0000ff"&gt;&lt;span style="list-style-type: disc; mso-spacerun: yes"&gt;&lt;font style="font-size: 9.5pt"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;font style="font-size: 9.5pt"&gt;#endregion&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="padding-bottom: 0px; line-height: normal; list-style-type: disc; margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size: 11pt" color="#000000"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-19484879142653097?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/19484879142653097/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2011/01/aero-style-forms.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/19484879142653097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/19484879142653097'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2011/01/aero-style-forms.html' title='Aero Style Forms'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-7590658719091049299</id><published>2010-10-09T20:10:00.001+03:00</published><updated>2010-10-09T20:14:25.062+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Service Broker kullanımı</title><content type='html'>&lt;p&gt;SQL Server 2005 veya 2008 üzerinde service broker nesnesinin kullanımı.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://siyakin.files.wordpress.com/2010/10/servicebroker2.jpg"&gt;&lt;img class="alignnone size-medium wp-image-28" title="serviceBroker.jpg" alt="" src="http://siyakin.files.wordpress.com/2010/10/servicebroker2.jpg?w=300" width="360" height="236" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;ornekdb isimli bir database oluşturulması&lt;/p&gt;  &lt;p&gt;&lt;a href="http://siyakin.files.wordpress.com/2010/10/ornekdb2.jpg"&gt;&lt;img class="alignnone size-medium wp-image-29" title="ornekdb.jpg" alt="" src="http://siyakin.files.wordpress.com/2010/10/ornekdb2.jpg?w=300" width="493" height="441" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;ornekdb service broker erişimi ve service broker’ın aktifleştirilmesi&lt;/p&gt;  &lt;p&gt;&lt;a href="http://siyakin.files.wordpress.com/2010/10/ornekdb_servicebroker1.jpg"&gt;&lt;img class="alignnone size-medium wp-image-26" title="ornekdb_serviceBroker.jpg" alt="" src="http://siyakin.files.wordpress.com/2010/10/ornekdb_servicebroker1.jpg?w=300" width="489" height="321" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;pre style="background-color: #ffffff; word-wrap: break-word; white-space: pre-wrap; overflow: auto"&gt;&lt;span style="color: #0000ff"&gt;Select&lt;/span&gt;&lt;span style="color: #000000"&gt; is_broker_enabled &lt;/span&gt;&lt;span style="color: #0000ff"&gt;From&lt;/span&gt;&lt;span style="color: #000000"&gt; sys.databases &lt;/span&gt;&lt;span style="color: #0000ff"&gt;Where&lt;/span&gt;&lt;span style="color: #000000"&gt; database_id&lt;/span&gt;&lt;span style="color: #808080"&gt;=&lt;/span&gt;&lt;span style="color: #000000"&gt;db_id()&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;ALTER&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #0000ff"&gt;DATABASE&lt;/span&gt;&lt;span style="color: #000000"&gt; ornekdb &lt;/span&gt;&lt;span style="color: #0000ff"&gt;SET&lt;/span&gt;&lt;span style="color: #000000"&gt; ENABLE_BROKER&lt;br /&gt;&lt;br /&gt;tanımların yapılması&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;d id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:6364ddcc-c8c4-4eb7-80a0-41a7d1a3d667" IV&gt;&lt;br /&gt;&lt;pre&gt;CREATE MESSAGE TYPE mesaj VALIDATION = WELL_FORMED_XML ;&lt;br /&gt;&lt;br /&gt;CREATE CONTRACT kontrat ( mesaj SENT BY INITIATOR);&lt;br /&gt;&lt;br /&gt;CREATE QUEUE [dbo].[gondermeKuyrugu];&lt;br /&gt;CREATE QUEUE [dbo].[almaKuyrugu];&lt;br /&gt;&lt;br /&gt;CREATE SERVICE gondermeServisi ON QUEUE [dbo].[gondermeKuyrugu];&lt;br /&gt;CREATE SERVICE almaServisi ON QUEUE [dbo].[almaKuyrugu] (kontrat);&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;mesaj gönderme&lt;/p&gt;&lt;br /&gt;&lt;d id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:7f65167f-350e-42b1-a405-0d83fa278880" IV&gt;&lt;br /&gt;&lt;pre&gt;BEGIN TRANSACTION ; &lt;br /&gt;&lt;br /&gt;    -- mesaj oluşturulması&lt;br /&gt;&lt;br /&gt;    DECLARE @mesaj XML ;&lt;br /&gt;    SET @mesaj = N'&amp;lt;mesaj&amp;gt;Merhaba, Dünya!&amp;lt;/mesaj&amp;gt;' ;&lt;br /&gt;&lt;br /&gt;    -- baslatılan karsilasmanın referansının&lt;br /&gt;    -- tutulması&lt;br /&gt;&lt;br /&gt;    DECLARE @karsilasmaReferansi UNIQUEIDENTIFIER ;&lt;br /&gt;&lt;br /&gt;    -- Karşılaşma.&lt;br /&gt;&lt;br /&gt;    BEGIN DIALOG CONVERSATION @karsilasmaReferansi&lt;br /&gt;        FROM SERVICE gondermeServisi&lt;br /&gt;        TO SERVICE 'almaServisi'&lt;br /&gt;        ON CONTRACT kontrat &lt;br /&gt;        WITH ENCRYPTION = OFF;&lt;br /&gt;&lt;br /&gt;    -- Send the message on the dialog.&lt;br /&gt;&lt;br /&gt;    SEND ON CONVERSATION @karsilasmaReferansi&lt;br /&gt;      MESSAGE TYPE mesaj&lt;br /&gt;      (@mesaj) ;&lt;br /&gt;&lt;br /&gt;-- işlem tamalanıyor. Service Broker&lt;br /&gt;-- mesaj hedefe ulaştırılır&lt;br /&gt;&lt;br /&gt;COMMIT TRANSACTION ;&lt;br /&gt;GO&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;mesaj alma&lt;/p&gt;&lt;br /&gt;&lt;d id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:a4fcbc12-52a4-4309-80e4-c22e42a0e5cd" IV&gt;&lt;br /&gt;&lt;pre&gt;-- Grup bazında işlem&lt;br /&gt;WHILE (1 = 1)&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;DECLARE @karsilasmaReferansi UNIQUEIDENTIFIER,&lt;br /&gt;        @karsilasmaGrup  UNIQUEIDENTIFIER,&lt;br /&gt;        @mesajIcerigi XML,&lt;br /&gt;        @mesajTipAdi NVARCHAR(128);&lt;br /&gt;&lt;br /&gt;BEGIN TRANSACTION ;&lt;br /&gt;&lt;br /&gt;-- grubun tutulması&lt;br /&gt;&lt;br /&gt;WAITFOR(&lt;br /&gt;   GET CONVERSATION GROUP @karsilasmaGrup FROM [dbo].[almaKuyrugu]),&lt;br /&gt;   TIMEOUT 500 ;&lt;br /&gt;&lt;br /&gt;-- eger karşılaşma grubu kalmadıysa işlemin&lt;br /&gt;-- dış döngünün dışına çıkarılması&lt;br /&gt;&lt;br /&gt;IF @karsilasmaGrup IS NULL&lt;br /&gt;BEGIN&lt;br /&gt;    ROLLBACK TRANSACTION ;&lt;br /&gt;    BREAK ;&lt;br /&gt;END ;&lt;br /&gt;&lt;br /&gt;    -- grup içerisindeki mesajların işleme alınması. &lt;br /&gt;&lt;br /&gt;    WHILE 1 = 1&lt;br /&gt;    BEGIN&lt;br /&gt;&lt;br /&gt;        -- grup için mesajın alınması 'where' yazımı ile&lt;br /&gt;        -- aynı gruba ait mesajın işleme alınması&lt;br /&gt;&lt;br /&gt;        RECEIVE&lt;br /&gt;           TOP(1)&lt;br /&gt;           @karsilasmaReferansi = conversation_handle,&lt;br /&gt;           @mesajTipAdi = message_type_name,&lt;br /&gt;           @mesajIcerigi =&lt;br /&gt;           CASE&lt;br /&gt;              WHEN validation = 'X' THEN CAST(message_body AS XML)&lt;br /&gt;              ELSE CAST(N'&amp;lt;none/&amp;gt;' AS XML)&lt;br /&gt;          END&lt;br /&gt;        FROM [dbo].[almaKuyrugu]&lt;br /&gt;        WHERE conversation_group_id = @karsilasmaGrup ;&lt;br /&gt;&lt;br /&gt;        -- eger mesaj yoksa veya hata olustuysa işlemi durdur,&lt;br /&gt;&lt;br /&gt;        IF @@ROWCOUNT = 0 OR @@ERROR &amp;lt;&amp;gt; 0 BREAK;&lt;br /&gt;&lt;br /&gt;        -- gelen mesajın gösterilmesi / seçilmesi&lt;br /&gt;&lt;br /&gt;        SELECT 'Conversation Group Id' = @karsilasmaGrup,&lt;br /&gt;               'Conversation Handle' = @karsilasmaReferansi,&lt;br /&gt;               'Message Type Name' = @mesajTipAdi,&lt;br /&gt;               'Message Body' = @mesajIcerigi ;&lt;br /&gt;&lt;br /&gt;        -- karşılaşmanın sonlandırılması&lt;br /&gt;&lt;br /&gt;        END CONVERSATION @karsilasmaReferansi ;&lt;br /&gt;&lt;br /&gt;    END;&lt;br /&gt;&lt;br /&gt;   -- işlemlerin onaylanması&lt;br /&gt;&lt;br /&gt;   COMMIT TRANSACTION ;&lt;br /&gt;&lt;br /&gt;END ; -- bütün gruplar&lt;br /&gt;GO&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: #000000"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-7590658719091049299?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/7590658719091049299/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2010/10/service-broker-kullanm_09.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7590658719091049299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/7590658719091049299'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2010/10/service-broker-kullanm_09.html' title='Service Broker kullanımı'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-8065835447001091683</id><published>2010-10-09T16:23:00.001+03:00</published><updated>2010-10-09T16:23:48.850+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>MVC Page URL Relative</title><content type='html'>&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:a11b9d2b-6879-469e-b30f-9c8419c8671d" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;"&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;link &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="&amp;lt;%= &lt;br /&gt;        Page.ResolveUrl("&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;~/Content/core/css/smoothness/jquery-ui-1.8.1.custom.css") %&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;" &lt;br /&gt;            rel="stylesheet" &lt;br /&gt;            type="text/css" /&amp;gt;  &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;link &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;='&amp;lt;%= &lt;br /&gt;        &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Url.Content("~/Plugins/Views/Webilan/Content/Main.css") %&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;' &lt;br /&gt;            rel="stylesheet" &lt;br /&gt;            type="text/css"&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;link &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;rel&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="stylesheet"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; type&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="text/css"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; media&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="screen"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; &lt;br /&gt;        href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;='&amp;lt;%= &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;VirtualPathUtility.ToAbsolute(&lt;br /&gt;                    string.Format("~/Content/{0}/css/Site.css", &lt;br /&gt;                    PostSystem.ThemeName )) %&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;' /&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-8065835447001091683?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/8065835447001091683/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2010/10/mvc-page-url-relative.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8065835447001091683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8065835447001091683'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2010/10/mvc-page-url-relative.html' title='MVC Page URL Relative'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-971251409920454752</id><published>2010-09-19T21:12:00.001+03:00</published><updated>2010-09-19T21:12:26.268+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>LINQ to SQL query with dynamic OrderBy</title><content type='html'>&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:aa7a1b1a-4957-4322-b29b-af3a8dd6682d" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;"&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; DynamicOrderBy&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; IQueryable&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;TEntity&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; OrderBy&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;TEntity&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt; IQueryable&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;TEntity&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; source, &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; orderByProperty,&lt;br /&gt;                  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;bool&lt;/span&gt;&lt;span style="color: #000000;"&gt; desc) &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;where&lt;/span&gt;&lt;span style="color: #000000;"&gt; TEntity : &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; command &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; desc &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;OrderByDescending&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; : &lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;OrderBy&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;br /&gt;        var type &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;typeof&lt;/span&gt;&lt;span style="color: #000000;"&gt;(TEntity);&lt;br /&gt;        var property &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; type.GetProperty(orderByProperty);&lt;br /&gt;        var parameter &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; System.Linq.Expressions.Expression.Parameter(type, &lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;p&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;        var propertyAccess &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; System.Linq.Expressions.Expression.MakeMemberAccess(parameter, property);&lt;br /&gt;        var orderByExpression &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; System.Linq.Expressions.Expression.Lambda(propertyAccess, parameter);&lt;br /&gt;&lt;br /&gt;        var resultExpression &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;br /&gt;            System.Linq.Expressions.Expression.Call(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;typeof&lt;/span&gt;&lt;span style="color: #000000;"&gt;(Queryable), command, &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Type[] { type, property.PropertyType },&lt;br /&gt;                               source.Expression, System.Linq.Expressions.Expression.Quote(orderByExpression));&lt;br /&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; source.Provider.CreateQuery&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;TEntity&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;(resultExpression);&lt;br /&gt;&lt;br /&gt;    }&lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;reference :&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a title="http://blogs.msdn.com/b/swiss_dpe_team/archive/2008/06/05/composable-linq-to-sql-query-with-dynamic-orderby.aspx" href="http://blogs.msdn.com/b/swiss_dpe_team/archive/2008/06/05/composable-linq-to-sql-query-with-dynamic-orderby.aspx"&gt;http://blogs.msdn.com/b/swiss_dpe_team/archive/2008/06/05/composable-linq-to-sql-query-with-dynamic-orderby.aspx&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a title="http://stackoverflow.com/questions/307512/how-do-i-apply-orderby-on-an-iqueryable-using-a-string-column-name-within-a-gener" href="http://stackoverflow.com/questions/307512/how-do-i-apply-orderby-on-an-iqueryable-using-a-string-column-name-within-a-gener"&gt;http://stackoverflow.com/questions/307512/how-do-i-apply-orderby-on-an-iqueryable-using-a-string-column-name-within-a-gener&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-971251409920454752?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/971251409920454752/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2010/09/linq-to-sql-query-with-dynamic-orderby.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/971251409920454752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/971251409920454752'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2010/09/linq-to-sql-query-with-dynamic-orderby.html' title='LINQ to SQL query with dynamic OrderBy'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-8387582461230031967</id><published>2010-09-08T18:27:00.001+03:00</published><updated>2010-09-08T18:27:50.017+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C#: Equivalent of JavaScript escape function</title><content type='html'>&lt;p&gt;Uri.EscapeDataString(&amp;quot;KC's trick /Hello&amp;quot;) gives:    &lt;br /&gt;&amp;quot;KC's%20trick%20%2FHello&amp;quot;    &lt;br /&gt;Uri.EscapeUriString(&amp;quot;KC's trick /Hello&amp;quot;) gives:     &lt;br /&gt;&amp;quot;KC's%20trick%20/Hello&amp;quot;    &lt;br /&gt;System.Web.HttpUtility.UrlEncode(&amp;quot;KC's trick /Hello&amp;quot;) gives:     &lt;br /&gt;&amp;quot;KC's+trick+%2fHello&amp;quot;    &lt;br /&gt;System.Web.HttpUtility.UrlPathEncode(&amp;quot;KC's trick /Hello&amp;quot;) gives:    &lt;br /&gt;&amp;quot;KC's%20trick%20/Hello&amp;quot;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;reference :&lt;a title="http://kseesharp.blogspot.com/2008/01/c-equivalent-of-javascript-escape.html" href="http://kseesharp.blogspot.com/2008/01/c-equivalent-of-javascript-escape.html"&gt;http://kseesharp.blogspot.com/2008/01/c-equivalent-of-javascript-escape.html&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-8387582461230031967?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/8387582461230031967/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2010/09/c-equivalent-of-javascript-escape.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8387582461230031967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8387582461230031967'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2010/09/c-equivalent-of-javascript-escape.html' title='C#: Equivalent of JavaScript escape function'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-9023411392886190629</id><published>2010-07-07T00:51:00.001+03:00</published><updated>2010-07-07T00:51:12.040+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>XML node</title><content type='html'>&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:f8970df3-497e-4fc6-8ccd-739a70e6502b" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;"&gt;&lt;span style="color: #000000;"&gt;            XmlNamespaceManager nsmgr &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; XmlNamespaceManager(xmlFile.NameTable);&lt;br /&gt;            nsmgr.AddNamespace(&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;smap&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;http://schemas.microsoft.com/AspNet/SiteMap-File-1.0&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;            string xpath &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;//smap:siteMapNode[@url=\"{0}\"]&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;            string url &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;~/Index&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; GetSiteMapNodeFromElement((XmlElement)xmlFile.SelectSingleNode(String.Format(xpath, url), nsmgr));&lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-9023411392886190629?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/9023411392886190629/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2010/07/xml-node.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/9023411392886190629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/9023411392886190629'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2010/07/xml-node.html' title='XML node'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-6040910247334232027</id><published>2010-06-13T20:47:00.001+03:00</published><updated>2010-06-13T20:47:58.734+03:00</updated><title type='text'>Google Font api</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;table class="columns" style="clear: both; padding-top: 0px; margin-top: 0px;"&gt;&lt;br /&gt;  &lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;    &lt;td width="50%"&gt;&lt;br /&gt;&lt;div style="margin-left: 19px;"&gt;&lt;br /&gt;&lt;h2 style="padding-top: 0px; margin-top: 0px;"&gt;&lt;a href="/apis/webfonts/docs/getting_started.html"&gt;&lt;img id="fa-logo" alt="Google Font API" src="//www.google.com/images/logos/font_api_logo_beta.gif" style="border-style: none;"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;The Google Font API helps you add web fonts to any web page.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Benefits of the Google Font API include:&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;A choice of high quality open source fonts.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Works in most browsers.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Extremely easy to use.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;For example, the following text uses a web font called Tangerine:&lt;/p&gt;&lt;br /&gt;&lt;div style="font-family: 'Tangerine',serif; font-size: 36px; text-shadow: 4px 4px 4px rgb(170, 170, 170); margin-top: 30px; margin-bottom: 20px; line-height: 40px;"&gt;&lt;br /&gt;Making the Web Beautiful!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Applying a font is easy: just add a special stylesheet link to your web page, then use the font in a CSS style.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For details, see the &lt;strong&gt;&lt;a href="/apis/webfonts/docs/getting_started.html#Quick_Start"&gt;quick start example&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;  &lt;br /&gt;    &lt;/div&gt;&lt;/td&gt;&lt;br /&gt;    &lt;td width="50%"&gt;&lt;br /&gt;&lt;h2 style="padding-top: 0px; margin-top: 0px;"&gt;&lt;a href="http://code.google.com/webfonts"&gt;&lt;img alt="Google Font Directory" src="//www.google.com/images/logos/font_directory_logo_beta.gif" style="border-style: none;"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;To give developers a choice of high-quality fonts when using the Font API, we have created the &lt;a title="Google Font Directory" href="http://code.google.com/webfonts"&gt;Google Font Directory&lt;/a&gt;. There you can browse our catalog of available fonts, learn about the font designers who created them, and copy the code required to use them on your web page.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The fonts in the directory are all released under open source licenses; you can use them on any non-commercial or commercial project.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;strong&gt;&lt;a title="Google Font Directory" href="http://code.google.com/webfonts"&gt;Visit the Google Font Directory now&lt;/a&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;br /&gt;    &lt;/td&gt;&lt;br /&gt;  &lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;refer: &lt;a title="http://code.google.com/intl/tr-TR/apis/webfonts/" href="http://code.google.com/intl/tr-TR/apis/webfonts/"&gt;http://code.google.com/intl/tr-TR/apis/webfonts/&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-6040910247334232027?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/6040910247334232027/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2010/06/google-font-api.html#comment-form' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6040910247334232027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/6040910247334232027'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2010/06/google-font-api.html' title='Google Font api'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-8393213885032226174</id><published>2010-06-10T14:09:00.001+03:00</published><updated>2010-06-10T14:09:28.717+03:00</updated><title type='text'>MVC virtualPathProvider</title><content type='html'>&lt;p&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:d2efb480-f918-4547-9f12-679232931108" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;"&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; GetViewPath(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt;[] locations, &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; viewName,&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; controllerName)&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; locations.Length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;            {&lt;br /&gt;                path &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt;.Format(System.Globalization.CultureInfo.InvariantCulture, locations[i],&lt;br /&gt;                                     &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;object&lt;/span&gt;&lt;span style="color: #000000;"&gt;[] { viewName, controllerName });&lt;br /&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.VirtualPathProvider.FileExists(path))&lt;br /&gt;                {&lt;br /&gt;                    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; path;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;        &lt;br /&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; GetViewPath(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt;[] locations, &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; viewName,&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt; controllerName)&lt;br /&gt;        {&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; pPaths.Where(pp &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; pp.Name &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; controllerName &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; pp.ciewName&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; viewName ).First().Path();&lt;br /&gt;        }&lt;br /&gt;            &lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8540483771961367678-8393213885032226174?l=akinyusufer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akinyusufer.blogspot.com/feeds/8393213885032226174/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://akinyusufer.blogspot.com/2010/06/mvc-virtualpathprovider.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8393213885032226174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8540483771961367678/posts/default/8393213885032226174'/><link rel='alternate' type='text/html' href='http://akinyusufer.blogspot.com/2010/06/mvc-virtualpathprovider.html' title='MVC virtualPathProvider'/><author><name>Akın Yusuf ER</name><uri>http://www.blogger.com/profile/16164700897541077171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://3.bp.blogspot.com/_KmfobaI-P2U/S-oDmHb-7CI/AAAAAAAAAEc/9U4RH-iDYBg/S220/2969979606_318c00db1b.jpg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8540483771961367678.post-3000867295897220252</id><published>2010-05-26T18:59:00.001+03:00</published><updated>2010-05-26T18:59:49.287+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# notes</title><content type='html'>&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:5d3f93a6-a317-4251-a08f-d50f43c9d97f" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;"&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; DelegateTests&lt;br /&gt;    {&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; Run()&lt;br /&gt;        {&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; there are many ways to call method Test&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; 1, declare Func&amp;lt;int, string&amp;gt; delegate&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;            Func&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; func1 &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; MyFunc;&lt;br /&gt;            Test(func1);&lt;br /&gt;&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; 2, implicit delegate&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;            Test(MyFunc);&lt;br /&gt;&lt;br /&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; 3, inline dele
