<?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:blogger='http://schemas.google.com/blogger/2008' 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-7458742</id><updated>2025-10-24T00:15:45.582+13:00</updated><category term="Development"/><category term="Microsoft"/><category term="Database"/><category term="SQL"/><category term="Random"/><category term="Web"/><category term="Geek"/><category term="Utility"/><category term="Graphics"/><category term="Humour"/><category term="Architecture"/><category term="Business"/><category term="Security"/><category term="Oracle"/><category term="Health"/><category term="Mapping"/><category term="DOS"/><category term="Google"/><category term="Training"/><category term="VB"/><category term="Blog"/><category term="Job Search"/><category term="ASP"/><category term="Firefox"/><category term="Music"/><category term="Outlook"/><category term="Search"/><category term="Yahoo"/><title type='text'>MrDee</title><subtitle type='html'>Insert text here  *&amp;lt;|;-P</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mrdee.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default?alt=atom&amp;redirect=false'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default?alt=atom&amp;start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>454</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7458742.post-8276257205159140985</id><published>2024-09-25T14:25:00.004+12:00</published><updated>2024-09-25T14:25:32.971+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SSMS and Cascadia Ligatures</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;TIL: Ligatures are a thing in code editors.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;According to &lt;a href=&quot;https://fonts.google.com/knowledge/glossary/ligature&quot; target=&quot;_blank&quot;&gt;Google&lt;/a&gt;, &quot;A ligature is a glyph that combines the shapes of certain sequences of characters into a new form that makes for a more harmonious reading experience.&quot;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;The new (to me) font &quot;Cascadia&quot; has variants, some with and some without ligatures. (see below) It is an upgrade from Consolas, the previous Microsoft developers font.&lt;br /&gt;&lt;br /&gt;Why are there multiple versions? This is because some people are &quot;show me the actual characters&quot; sort of people and others are &quot;Make it pretty&quot; sort of people. For prose I like ligatures, for programming I need precision. If you need to squint to tell the difference between &amp;gt;= and &amp;lt;= then it has gone too far. Also editing them is wierd, having the cursor/insertion point half way through a character feels wrong.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgz7a3cG3Rvg5HM4ThzxZhlDaS231hvrYy1qrAGxEUXJ0ufnQnfv2JIfw-bCzYQOKRzB_7MvUtsaK5fnlkZLG0hwmMKUuQnqtVLZERJYT4CyOfZv4H62G0v1zSN__pN09PrslGGgPtZ2M-M_ZhVjYA3aMPlHSe3l_fv8yic7aD8zLd8d1iyPEXs&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;255&quot; data-original-width=&quot;176&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgz7a3cG3Rvg5HM4ThzxZhlDaS231hvrYy1qrAGxEUXJ0ufnQnfv2JIfw-bCzYQOKRzB_7MvUtsaK5fnlkZLG0hwmMKUuQnqtVLZERJYT4CyOfZv4H62G0v1zSN__pN09PrslGGgPtZ2M-M_ZhVjYA3aMPlHSe3l_fv8yic7aD8zLd8d1iyPEXs&quot; width=&quot;166&quot; /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgtrouITNzoL53A4x9CvSeWPxM56dd4y00EPXiyQy8coWHvJsOSh7HohOYHWVv5O0oVFZUFE2XS1eIlVd-i-xPKf_95vdfg8EhgS3wmN9-ol6JPhb2GXGsYZvXot3-vAQxgUXWu20151YCz7eSISv5tmYI2DJ1lwTovXedp_D9GwUXULvJPjIi8&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;247&quot; data-original-width=&quot;165&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgtrouITNzoL53A4x9CvSeWPxM56dd4y00EPXiyQy8coWHvJsOSh7HohOYHWVv5O0oVFZUFE2XS1eIlVd-i-xPKf_95vdfg8EhgS3wmN9-ol6JPhb2GXGsYZvXot3-vAQxgUXWu20151YCz7eSISv5tmYI2DJ1lwTovXedp_D9GwUXULvJPjIi8&quot; width=&quot;160&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Final note, SQL is not C#. Take your non-ANSI &lt;b&gt;!=&lt;/b&gt; and keep it out of my SQL.&lt;a href=&quot;&quot;&gt;&lt;/a&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2024/09/ssms-and-cascadia-ligatures.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8276257205159140985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8276257205159140985'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2024/09/ssms-and-cascadia-ligatures.html' title='SSMS and Cascadia Ligatures'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgz7a3cG3Rvg5HM4ThzxZhlDaS231hvrYy1qrAGxEUXJ0ufnQnfv2JIfw-bCzYQOKRzB_7MvUtsaK5fnlkZLG0hwmMKUuQnqtVLZERJYT4CyOfZv4H62G0v1zSN__pN09PrslGGgPtZ2M-M_ZhVjYA3aMPlHSe3l_fv8yic7aD8zLd8d1iyPEXs=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-3235492646149625744</id><published>2024-09-13T15:09:00.001+12:00</published><updated>2024-09-13T15:10:24.410+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Utility"/><title type='text'>SQL Column Type , updated Sep 2024</title><content type='html'>&lt;div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CREATE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;OR&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;ALTER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;FUNCTION&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;ddt&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;].[&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;fn_ColumnType&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; @&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;TableName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; @&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;ColumnName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;RETURNS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;BEGIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;-- Declare the return variable here
&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;DECLARE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; @&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;ColumnType&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; @&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;ColumnType&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; 
       &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CASE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;34&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;IMAGE&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;35&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;TEXT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;               &lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;-- deprecated, use VARCHAR(MAX)
&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;36&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;UNIQUEIDENTIFIER&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;DATE&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;41&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;TIME(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;scale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;42&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;DATETIME2(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;         &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;scale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;48&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;TINYINT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;52&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;SMALLINT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;56&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;INT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;58&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;SMALLDATETIME&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;59&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;REAL&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;MONEY&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;61&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;DATETIME&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;62&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;FLOAT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;98&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;SQL_VARIANT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;99&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;NTEXT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;-- deprecated, use NVARCHAR(MAX)
&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;104&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;BIT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;106&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;DECIMAL(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;           &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;precision&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;,&#39;&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;scale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;108&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;NUMERIC(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;           &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;precision&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;,&#39;&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;scale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;122&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;SMALLMONEY&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;127&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;165&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;VARBINARY&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;167&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
                 &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CASE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;max_length&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
                                        &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;VARCHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;           &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;max_length&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
                                        &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;ELSE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;VARCHAR(MAX)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;END&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;173&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;BINARY(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;precision&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;       &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;175&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;CHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;max_length&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;189&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;TIMESTAMP&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;231&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
                 &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CASE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;max_length&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
                                        &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;NVARCHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;max_length&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;-- NVARCHAR has 2 byte length characters
&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;                                        &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;ELSE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;NVARCHAR(MAX)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;END&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
     
            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;239&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;NCHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;             &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;max_length&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;color: green; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;-- NCHAR has 2 byte length characters
&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;ELSE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;                             &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;???( &#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;system_type_id&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
       &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;END&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; 

    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;       &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;sys&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;tables&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;INNER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;sys&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;columns&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;ON&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;object_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;object_id&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;U&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;AND&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; @&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;TableName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;AND&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; @&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;ColumnName&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;RETURN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; @&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;ColumnType&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; font-weight: bold;&quot;&gt;END&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;&quot;&gt;&lt;/a&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2024/09/sql-column-type-updated-sep-2024.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3235492646149625744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3235492646149625744'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2024/09/sql-column-type-updated-sep-2024.html' title='SQL Column Type , updated Sep 2024'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-9042907279669487318</id><published>2024-06-17T15:25:00.004+12:00</published><updated>2024-06-17T15:30:23.211+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Utility"/><title type='text'>SQL documentation, updated Jun 2024</title><content type='html'>&lt;div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;TableName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;colorder&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;ColOrder&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;ColName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CASE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;34&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;IMAGE&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;35&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;TEXT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;36&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;UNIQUEIDENTIFIER&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;DATE&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;41&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;TIME(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;        &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xscale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;42&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;DATETIME2(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xscale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;48&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;TINYINT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;52&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;SMALLINT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;56&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;INT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;58&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;SMALLDATETIME&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;59&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;REAL&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;MONEY&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;61&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;DATETIME&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;62&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;FLOAT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;98&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;SQL_VARIANT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;99&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;NTEXT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;104&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;BIT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;106&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;DECIMAL(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xprec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;,&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xscale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;108&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;NUMERIC(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xprec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;,&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xscale&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;122&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;SMALLMONEY&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;127&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;BIGINT&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;165&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;VARBINARY&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;167&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CASE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;prec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
                              &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;VARCHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;prec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
                              &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;ELSE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;VARCHAR(MAX)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;END&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;173&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;BINARY(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;    &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;prec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;175&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;CHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;      &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;prec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;189&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;TIMESTAMP&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;231&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CASE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;prec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
                              &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;NVARCHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;prec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
                              &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;ELSE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;NVARCHAR(MAX)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;END&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;

           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;color: #ff8000; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;239&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;THEN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;NCHAR(&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;     &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;                 +&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;prec&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;)&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
           &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;ELSE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;??? &#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;CONVERT&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc19&quot; style=&quot;color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39; ???&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;END&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;      &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: rgb(255, 255, 255); float: left; line-height: 1; white-space: pre;&quot;&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;      AS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;ColType&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;isnullable&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;ColNullable&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;sysobjects&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;INNER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;syscolumns&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;On&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;ID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;ID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;xtype&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;&#39;U&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;ORDER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;BY&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;&quot;&gt;ColOrder&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;&quot;&gt;&lt;/a&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2024/06/sql-documentation-updated-jun-2024.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/9042907279669487318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/9042907279669487318'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2024/06/sql-documentation-updated-jun-2024.html' title='SQL documentation, updated Jun 2024'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-9162011418900919999</id><published>2018-05-01T12:48:00.003+12:00</published><updated>2018-09-21T17:03:27.551+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Training"/><title type='text'>Explaining common join types</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
span {
 font-family: &#39;Courier New&#39;;
 font-size: 10pt;
 color: #000000;
}
.sc0 {
}
.sc2 {
 color: #008000;
}
.sc4 {
 color: #FF8000;
}
.sc5 {
 font-weight: bold;
 color: #0000FF;
}
.sc7 {
 color: #808080;
}
.sc10 {
 font-weight: bold;
 color: #000080;
}
.sc11 {
}
&lt;/style&gt;


&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; float: left; line-height: 1; white-space: pre;&quot;&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; float: left; line-height: 1;&quot;&gt;
&lt;span class=&quot;sc2&quot; style=&quot;color: #38761d; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b style=&quot;background-color: yellow;&quot;&gt;-- SQL Code to illustrate excellent, venn diagram, teaching aid&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; float: left; line-height: 1;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;sc2&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b style=&quot;background-color: yellow;&quot;&gt;-- on SQL join types &lt;a href=&quot;https://i.stack.imgur.com/UI25E.jpg&quot; style=&quot;font-size: 10pt;&quot;&gt;https://i.stack.imgur.com/UI25E.jpg&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #274e13;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;CREATE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;TABLE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTEGER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTEGER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;CREATE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;TABLE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTEGER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;-- Dummy Data&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Boss&#39;&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Manager&#39;&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Employee&#39;&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Slave&#39;&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Alice&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Bob&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Charlie&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Dave&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Erin&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Frank&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Gertrude&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Heath&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INSERT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INTO&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc7&quot; style=&quot;background-color: white;&quot;&gt;&#39;Irene&#39;&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc4&quot; style=&quot;background-color: white;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;--==--==--==--==--==--==--==--==--==--==--==--==--==--==
-- INNER JOIN&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeName&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;INNER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;On&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;ORDER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;BY&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;--==--==--==--==--==--==--==--==--==--==--==--==--==--==
-- LEFT JOIN&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeName&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;LEFT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;On&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;ORDER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;BY&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;--==--==--==--==--==--==--==--==--==--==--==--==--==--==
-- RIGHT JOIN&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeName&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;RIGHT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;On&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;ORDER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;BY&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;--==--==--==--==--==--==--==--==--==--==--==--==--==--==
-- FULL OUTER JOIN&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeName&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;FULL&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;OUTER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;ON&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;ORDER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;BY&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;--==--==--==--==--==--==--==--==--==--==--==--==--==--==
-- LEFT JOIN - with null check&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeName&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;LEFT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;On&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;WHERE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;IS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;ORDER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;BY&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;--==--==--==--==--==--==--==--==--==--==--==--==--==--==
-- RIGHT JOIN - with null check&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;SELECT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeName&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobName&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;FROM&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;RIGHT&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;JOIN&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;On&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;JobID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;WHERE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;IS&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;ORDER&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;BY&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;sc10&quot; style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;DudeID&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: yellow; color: #274e13;&quot;&gt;-- Tidy Up&lt;/span&gt;&lt;span class=&quot;sc2&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;DROP&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;TABLE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Dude&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;DROP&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sc5&quot; style=&quot;background-color: white;&quot;&gt;TABLE&lt;/span&gt;&lt;span class=&quot;sc0&quot; style=&quot;background-color: white;&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;sc11&quot; style=&quot;background-color: white;&quot;&gt;Jobs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=7458742&quot;&gt;&lt;/a&gt;

&lt;br /&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2018/05/explaining-common-join-types.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/9162011418900919999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/9162011418900919999'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2018/05/explaining-common-join-types.html' title='Explaining common join types'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-8833931946689783022</id><published>2016-09-21T11:52:00.006+12:00</published><updated>2016-09-21T12:22:57.303+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Utility"/><title type='text'>Documenting Foreign Keys in SQL 2012</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;SELECT F.name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;, PT.name AS FromTab&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;, PC.name AS FromCol&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;, CT.name AS ToTab&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;, CC.name AS ToCol&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;FROM &amp;nbsp; &amp;nbsp; &amp;nbsp; sys.foreign_keys &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;F&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;INNER JOIN sys.foreign_key_columns FK ON FK.constraint_object_id = F.object_id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;inner join sys.tables &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PT ON PT.object_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FK.parent_object_id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;inner join sys.tables &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CT ON CT.object_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FK.referenced_object_id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;inner join sys.columns &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PC ON PC.object_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FK.parent_object_id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AND PC.column_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FK.parent_column_id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;inner join sys.columns &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CC ON CC.object_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FK.referenced_object_id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AND CC.column_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FK.referenced_column_id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORDER BY PT.name, PC.column_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=7458742&quot;&gt;&lt;/a&gt;

&lt;br /&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2016/09/documenting-foreign-keys-in-sql-2012_1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8833931946689783022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8833931946689783022'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2016/09/documenting-foreign-keys-in-sql-2012_1.html' title='Documenting Foreign Keys in SQL 2012'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-7973113045077080959</id><published>2016-09-20T18:42:00.002+12:00</published><updated>2016-09-21T11:53:54.737+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Utility"/><title type='text'>SQL documentation, updated</title><content type='html'>&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;SELECT T.name AS TableName&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; , C.colorder AS ColOrder&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; , C.name AS ColName&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; , CASE WHEN C.xtype = &amp;nbsp;34 THEN &#39;IMAGE&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;35 THEN &#39;TEXT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;36 THEN &#39;UNIQUEIDENTIFIER&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;40 THEN &#39;DATE&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;48 THEN &#39;TINYINT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;52 THEN &#39;SMALLINT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;56 THEN &#39;INT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;58 THEN &#39;SMALLDATETIME&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;59 THEN &#39;REAL&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;60 THEN &#39;MONEY&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;61 THEN &#39;DATETIME&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;62 THEN &#39;FLOAT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;98 THEN &#39;SQL_VARIANT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = &amp;nbsp;99 THEN &#39;NTEXT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 104 THEN &#39;BIT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 106 THEN &#39;DECIMAL(&#39; + CONVERT(VARCHAR,C.xprec) + &#39;,&#39; + CONVERT(VARCHAR,C.xscale)+ &#39;)&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 108 THEN &#39;NUMERIC(&#39; + CONVERT(VARCHAR,C.xprec) + &#39;,&#39; + CONVERT(VARCHAR,C.xscale)+ &#39;)&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 122 THEN &#39;SMALLMONEY&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 127 THEN &#39;BIGINT&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 165 THEN &#39;VARBINARY&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 167 THEN&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CASE WHEN C.prec&amp;gt;0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; THEN &#39;VARCHAR(&#39; &amp;nbsp; + CONVERT(VARCHAR,C.prec) + &#39;)&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ELSE &#39;VARCHAR(MAX)&#39; END&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 173 THEN &#39;BINARY(&#39; &amp;nbsp; &amp;nbsp;+ CONVERT(VARCHAR,C.prec) + &#39;)&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 175 THEN &#39;CHAR(&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ CONVERT(VARCHAR,C.prec) + &#39;)&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 189 THEN &#39;TIMESTAMP&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 231 THEN&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CASE WHEN C.prec&amp;gt;0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; THEN &#39;NVARCHAR(&#39; &amp;nbsp; + CONVERT(VARCHAR,C.prec) + &#39;)&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ELSE &#39;NVARCHAR(MAX)&#39; END&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WHEN C.xtype = 239 THEN &#39;NCHAR(&#39; &amp;nbsp; &amp;nbsp; + CONVERT(VARCHAR,C.prec) + &#39;)&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ELSE &#39;??? &#39; + CONVERT(VARCHAR,C.xtype) + &#39; ???&#39; END AS ColType&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; , C.isnullable AS ColNullable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;FROM sysobjects T&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;INNER JOIN syscolumns C On C.ID = T.ID&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;WHERE T.xtype = &#39;U&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;ORDER BY T.Name, C.ColOrder&lt;/span&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2016/09/sql-documentation-updated.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/7973113045077080959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/7973113045077080959'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2016/09/sql-documentation-updated.html' title='SQL documentation, updated'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-3566925930912543356</id><published>2011-09-13T13:17:00.001+12:00</published><updated>2011-09-13T13:18:07.192+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Utility"/><title type='text'>Remote Desktop (RDC) shortcut keys</title><content type='html'>&lt;a href=&quot;http://blogs.msdn.com/b/mwilbur/archive/2007/02/24/remote-desktop-shortcut-keys.aspx&quot;&gt;Original Article&lt;/a&gt;
&lt;br /&gt;

&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;Shortcut key&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;ALT+PAGE UP&lt;/td&gt;&lt;td&gt;Switches between programs from left to right.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;ALT+PAGE DOWN&lt;/td&gt;&lt;td&gt;Switches between programs from right to left.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;ALT+INSERT&lt;/td&gt;&lt;td&gt;Cycles through the programs in the order they were started.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;ALT+HOME&lt;/td&gt;&lt;td&gt;Displays the Start menu.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;CTRL+ALT+BREAK&lt;/td&gt;&lt;td&gt;Switches the client between a window and full screen.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;CTRL+ALT+END&lt;/td&gt;&lt;td&gt;Brings up the Windows Security dialog box.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;ALT+DELETE&lt;/td&gt;&lt;td&gt;Displays the Windows menu.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;CTRL+ALT+Minus (-) symbol on the numeric keypad&lt;/td&gt;&lt;td&gt;Places a snapshot of the active window, within the client, on the Terminal server clipboard (provides the same functionality as pressing PrintScrn on a local computer.)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;CTRL+ALT+Plus (+) symbol on the numeric keypad	&lt;/td&gt;&lt;td&gt;Places a snapshot of the entire client window area on the Terminal server clipboard (provides the same functionality as pressing ALT+PrintScrn on a local computer.)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2011/09/remote-desktop-shortcut-keys.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3566925930912543356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3566925930912543356'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2011/09/remote-desktop-shortcut-keys.html' title='Remote Desktop (RDC) shortcut keys'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-5854091514097992464</id><published>2011-09-13T12:44:00.002+12:00</published><updated>2011-09-13T12:44:49.771+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Disaster Recovery: What to do when the SA account password is lost in SQL Server</title><content type='html'>&lt;a href=&quot;http://blogs.msdn.com/b/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx&quot;&gt;Instruction here&lt;/a&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2011/09/disaster-recovery-what-to-do-when-sa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/5854091514097992464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/5854091514097992464'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2011/09/disaster-recovery-what-to-do-when-sa.html' title='Disaster Recovery: What to do when the SA account password is lost in SQL Server'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-4930878372096674572</id><published>2011-09-13T12:43:00.000+12:00</published><updated>2011-09-13T12:43:01.740+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><title type='text'>How to Restart Windows via Remote Desktop</title><content type='html'>&lt;a href=&quot;http://www.bernzilla.com/item.php?id=701&quot;&gt;CTRL+ALT+END&lt;/a&gt;
</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2011/09/how-to-restart-windows-via-remote.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/4930878372096674572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/4930878372096674572'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2011/09/how-to-restart-windows-via-remote.html' title='How to Restart Windows via Remote Desktop'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-8301890762911789222</id><published>2010-11-09T09:21:00.001+13:00</published><updated>2010-11-09T09:21:58.470+13:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Business"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><title type='text'>Debunking the 12 Key Myths of EHR Implementation</title><content type='html'>&lt;a href=&quot;http://www.beckershospitalreview.com/healthcare-information-technology/debunking-the-12-key-myths-of-ehr-implementation.html&quot;&gt;Click here&lt;/a&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/11/debunking-12-key-myths-of-ehr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8301890762911789222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8301890762911789222'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/11/debunking-12-key-myths-of-ehr.html' title='Debunking the 12 Key Myths of EHR Implementation'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-5686659795705565969</id><published>2010-10-07T17:04:00.001+13:00</published><updated>2010-10-08T16:44:41.824+13:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL date table script</title><content type='html'>&lt;a href=&quot;http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=61519&quot;&gt;Script to create a date table function&lt;/a&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/10/sql-date-table-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/5686659795705565969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/5686659795705565969'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/10/sql-date-table-script.html' title='SQL date table script'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-8160270228375986264</id><published>2010-09-14T09:27:00.000+12:00</published><updated>2010-09-14T09:27:31.105+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL builds</title><content type='html'>&lt;a href=&quot;http://sqlserverbuilds.blogspot.com/&quot;&gt;Microsoft SQL Server 2008, 2005, 2000 and 7.0 Builds&lt;/a&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/09/sql-builds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8160270228375986264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8160270228375986264'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/09/sql-builds.html' title='SQL builds'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-3247725220472915221</id><published>2010-09-09T16:09:00.000+12:00</published><updated>2010-09-09T16:09:06.317+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="Mapping"/><category scheme="http://www.blogger.com/atom/ns#" term="Random"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Shocking news - nicely displayed</title><content type='html'>&lt;a href=&quot;http://www.christchurchquakemap.co.nz/&quot;&gt;Animated Christchurch Quake Map&lt;/a&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/09/shocking-news-nicely-displayed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3247725220472915221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3247725220472915221'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/09/shocking-news-nicely-displayed.html' title='Shocking news - nicely displayed'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-976396001178628423</id><published>2010-08-27T14:06:00.000+12:00</published><updated>2010-08-27T14:06:05.381+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Geek"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="Random"/><title type='text'>Wearable Desire</title><content type='html'>&lt;a href=&quot;http://www.googlestore.com/Wearables/Google+Map+T-Shirt.axd&quot;&gt;I am here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Remember: Nothing says &#39;thank you for your blog&#39; like buying me a present. ;)</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/08/wearable-desire.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/976396001178628423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/976396001178628423'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/08/wearable-desire.html' title='Wearable Desire'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total><georss:featurename>55 Shortland St, Auckland 1010, New Zealand</georss:featurename><georss:point>-36.847123 174.768393</georss:point><georss:box>-36.851416 174.7610975 -36.842830000000006 174.7756885</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-3540905087168907764</id><published>2010-08-13T10:50:00.000+12:00</published><updated>2010-08-13T10:50:55.001+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Business"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Geek"/><category scheme="http://www.blogger.com/atom/ns#" term="Health"/><category scheme="http://www.blogger.com/atom/ns#" term="Random"/><title type='text'>You don&#39;t have to be insane to be a progammer...</title><content type='html'>Excellent cautionary tale with very&amp;nbsp; useful pointers.&lt;br /&gt;
If you code professionally I reccomend this post.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://sheddingbikes.com/posts/1281257293.html&quot;&gt;Common Programmer Health Problems&lt;/a&gt; &lt;br /&gt;
&lt;blockquote&gt;I find many programmers seem to ignore their body&#39;s physical state when they&#39;re coding, most likely due to the intense concentration required. I&#39;m hoping other people could benefit by simply understanding a few health related problems programming has almost caused me or caused many other people I know, and how I avoided them.&lt;/blockquote&gt;&lt;blockquote&gt;What I do want to cover are a set of particular problems programmers have from their daily profession. These are just simple really obvious things that for some reason programmers don&#39;t realize aren&#39;t supposed to be happening:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Pain in your &lt;strong&gt;wrists&lt;/strong&gt; from Repetitive Strain Injury (RSI).&lt;/li&gt;
&lt;li&gt;Problems with your &lt;strong&gt;eyes&lt;/strong&gt; from staring at moving print for extended periods.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Back&lt;/strong&gt; problems from poor posture, especially in the lower back and upper shoulders.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Bowel and urinary&lt;/strong&gt; issues from not crapping and pissing when you should.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dehydration&lt;/strong&gt; from drinking too much caffeine and not enough water.&lt;/li&gt;
&lt;li&gt;Problems with &lt;strong&gt;hemorrhoids&lt;/strong&gt; and the prostate for guys from sitting too much. Yep, I&#39;m gonna go there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Vitamin D&lt;/strong&gt; deficiency from lack of sunshine.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sleeping&lt;/strong&gt; disorders from staying up late and drinking too much coffee.&lt;/li&gt;
&lt;li&gt;General &lt;strong&gt;stiffness&lt;/strong&gt; and soreness from a lack of stretching in general.&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/08/you-dont-have-to-be-insane-to-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3540905087168907764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/3540905087168907764'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/08/you-dont-have-to-be-insane-to-be.html' title='You don&#39;t have to be insane to be a progammer...'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-6141766235696864772</id><published>2010-08-09T12:45:00.000+12:00</published><updated>2010-08-09T12:45:19.346+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Random"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>And you think YOUR sysadmin is a control freak.</title><content type='html'>&lt;a href=&quot;http://computerworld.co.nz/news.nsf/news/ex-san-francisco-network-admin-gets-four-year-sentence?opendocument&amp;utm_source=topnews&amp;utm_medium=email&amp;utm_campaign=topnews&quot;&gt;Ex-San Francisco network admin gets four-year sentence&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Childs defended his actions during a long court trial, saying that he was only doing his job, and that his supervisor, Department of Technology and Information Services chief operations officer Richard Robinson, was unqualified to have access to the passwords. Childs eventually handed over the passwords to San Francisco Mayor Gavin Newsom. &lt;/blockquote&gt;&lt;br /&gt;
Because the mayor is more technically qualified???&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Prosecutors characterised the former network administrator as a power hungry control freak who couldn&#39;t be managed.&lt;/blockquote&gt;&lt;br /&gt;
You think?&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Childs may also have to cover the city&#39;s US$900,000 bill, spent on trying to regain control of its network.&lt;/blockquote&gt;&lt;br /&gt;
One wonders at the policy of allowing one employee to power to &#39;own&#39; an entire network. Does San Francisco lack a bus service? (as in what if they were run over by a bus)&lt;br /&gt;
Either way, this super-ego is better off not controlling something do important.</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/08/and-you-think-your-sysadmin-is-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/6141766235696864772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/6141766235696864772'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/08/and-you-think-your-sysadmin-is-control.html' title='And you think YOUR sysadmin is a control freak.'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-8594135158183839580</id><published>2010-08-05T15:26:00.000+12:00</published><updated>2010-08-05T15:26:07.322+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Geek"/><category scheme="http://www.blogger.com/atom/ns#" term="Graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="Random"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>SQL injection fun</title><content type='html'>&lt;a href=&quot;http://h.ackack.net/barcode-attacks.html&quot;&gt;Barcode Attacks&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Why not try it at you favorite supermarket today.</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/08/sql-injection-fun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8594135158183839580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8594135158183839580'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/08/sql-injection-fun.html' title='SQL injection fun'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-6350241257109578755</id><published>2010-07-27T10:19:00.000+12:00</published><updated>2010-07-27T10:19:54.446+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Passing lists to a SPROC - excellent article</title><content type='html'>&lt;a href=&quot;http://www.sommarskog.se/arrays-in-sql-2005.html&quot;&gt;Arrays and Lists in SQL Server 2005 and Beyond&lt;/a&gt;&lt;br /&gt;
&lt;blockquote&gt;In the public forums for SQL Server, you often see people asking &lt;i&gt;How do I use arrays in SQL Server?&lt;/i&gt; Or &lt;i&gt;Why does SELECT * FROM tbl WHERE col IN (@list) not work?&lt;/i&gt; The short answer to the first question is that SQL Server does not have arrays – SQL Server has tables. However, upto SQL 2005 you could not specify a table as input to SQL Server from a client, but you had to pass a string with the values and unpack it into a table on the SQL Server end.&lt;br /&gt;
&lt;br /&gt;
This article describes a number of different ways to do this, both good and bad. I first give a background to the problem (including a quick solution that is good enough in many cases). I then give a brief overview over the methods, whereupon I discuss general issues that apply, no matter which method you use. Having dealt with these introductory topics, I devote the rest of the article to detailed descriptions of all methods, and I discuss their strengths and weaknesses.&lt;/blockquote&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/07/passing-lists-to-sproc-excellent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/6350241257109578755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/6350241257109578755'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/07/passing-lists-to-sproc-excellent.html' title='Passing lists to a SPROC - excellent article'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-4764532255783003700</id><published>2010-07-21T09:19:00.000+12:00</published><updated>2010-07-21T09:19:40.891+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL Date Elegance - Dan Guzman does it again</title><content type='html'>&lt;a href=&quot;http://weblogs.sqlteam.com/dang/archive/2010/07/19/calendar-table-and-datetime-functions.aspx&quot;&gt;Calendar Table and Date/Time Functions&lt;/a&gt; &lt;br /&gt;
&lt;blockquote&gt;I frequently see questions in the forums and newsgroups about how to best query date/time data and perform date manipulation. Let me first say that a permanent calendar table that materializes commonly used DATEPART values along with time periods you frequently use is invaluable. I’ve used such a table for over a decade with great success and strongly recommend you implement one on all of your database servers. I’ve included a sample calendar table (and numbers table) later in this post and you can find other variations of such a table via an internet search.&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;Removing the Time Portion&lt;/li&gt;
&lt;/ul&gt;&lt;ul dir=&quot;ltr&quot;&gt;&lt;li&gt;First and Last Day of Period&lt;/li&gt;
&lt;/ul&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-right: 0px;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Calendar and Numbers Table&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/07/sql-date-elegance-dan-guzman-does-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/4764532255783003700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/4764532255783003700'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/07/sql-date-elegance-dan-guzman-does-it.html' title='SQL Date Elegance - Dan Guzman does it again'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-4785075157021431561</id><published>2010-05-31T10:03:00.000+12:00</published><updated>2010-05-31T10:03:56.717+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Business"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Random"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Google search - No region</title><content type='html'>My machine (in NZ) is connected via proxy in Australia or on occaison in the UK.&lt;br /&gt;
By default going to google.com will redirect (based on my current proxy) to the regional sites google.com.au or google.com.uk. by using the following URL I am redirected to google.com without redirection.&lt;br /&gt;
&lt;br /&gt;
www.google.com/ncr &lt;br /&gt;
&lt;br /&gt;
NCR = no country redirect&lt;br /&gt;
&lt;br /&gt;
I discovered this &lt;a href=&quot;http://support.mozilla.com/en-US/forum/1/506604&quot;&gt;here&lt;/a&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/05/google-search-no-region.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/4785075157021431561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/4785075157021431561'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/05/google-search-no-region.html' title='Google search - No region'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-1623242917847794790</id><published>2010-04-07T16:54:00.000+12:00</published><updated>2010-04-07T16:54:52.159+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>SQL Column Types</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
SELECT T.name AS TableName &lt;br /&gt;
, C.colorder AS ColOrder&lt;br /&gt;
, C.name AS ColName&lt;br /&gt;
, CASE WHEN C.xtype = 34 THEN &#39;IMAGE&#39; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 35 THEN &#39;TEXT&#39; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 36 THEN &#39;UNIQUEIDENTIFIER&#39; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 48 THEN &#39;TINYINT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 52 THEN &#39;SMALLINT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 56 THEN &#39;INT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 58 THEN &#39;SMALLDATETIME&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 59 THEN &#39;REAL&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 60 THEN &#39;MONEY&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 61 THEN &#39;DATETIME&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 62 THEN &#39;FLOAT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 98 THEN &#39;SQL_VARIANT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 99 THEN &#39;NTEXT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 104 THEN &#39;BIT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 106 THEN &#39;DECIMAL(&#39; + CONVERT(VARCHAR,C.xprec) + &#39;,&#39; + CONVERT(VARCHAR,C.xscale)+ &#39;)&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 108 THEN &#39;NUMERIC(&#39; + CONVERT(VARCHAR,C.xprec) + &#39;,&#39; + CONVERT(VARCHAR,C.xscale)+ &#39;)&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 122 THEN &#39;SMALLMONEY&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 127 THEN &#39;BIGINT&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 165 THEN &#39;VARBINARY&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 167 THEN &#39;VARCHAR(&#39; + CONVERT(VARCHAR,C.length) + &#39;)&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 173 THEN &#39;BINARY(&#39; + CONVERT(VARCHAR,C.length) + &#39;)&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 175 THEN &#39;CHAR(&#39; + CONVERT(VARCHAR,C.length) + &#39;)&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 189 THEN &#39;TIMESTAMP&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 231 THEN &#39;NVARCHAR(&#39; + CONVERT(VARCHAR,C.prec) + &#39;)&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;WHEN C.xtype = 239 THEN &#39;NCHAR(&#39; + CONVERT(VARCHAR,C.prec) + &#39;)&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;ELSE &#39;???&#39; END AS ColType&lt;br /&gt;
, C.isnullable AS ColNullable&lt;br /&gt;
&lt;br /&gt;
FROM sysobjects T&lt;br /&gt;
INNER JOIN syscolumns C On C.ID = T.ID&lt;br /&gt;
&lt;br /&gt;
WHERE T.xtype = &#39;U&#39;&lt;br /&gt;
ORDER BY T.Name, C.ColOrder&lt;/span&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/04/sql-column-types.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/1623242917847794790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/1623242917847794790'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/04/sql-column-types.html' title='SQL Column Types'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-7251683506127122864</id><published>2010-02-24T13:47:00.000+13:00</published><updated>2010-02-24T13:47:01.333+13:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Utility"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>When the IE8 Developer Toolbar get confused while docked...</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 21px; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd565628(VS.85).aspx&quot;&gt;Discovering Internet Explorer Developer Tools&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;&lt;blockquote&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; font-weight: bold;&quot;&gt;G&lt;/span&gt;etting Started&lt;/blockquote&gt;&lt;blockquote&gt;Getting started with the tools is simple: press F12 or click&amp;nbsp;Developer Tools&amp;nbsp;from the&amp;nbsp;Tools&amp;nbsp;menu.&lt;/blockquote&gt;&lt;blockquote&gt;Once open, the tools exist in their own window, each one connected to a single tab in Internet Explorer. If you prefer to decrease the number of open windows, pin the tools to a tab by clicking the&amp;nbsp;Pin&amp;nbsp;button or pressing &lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;CTRL+P&lt;/span&gt;.&lt;/blockquote&gt;&lt;blockquote&gt;Some features of the tools do not need the complete tools interface. In that case, click the&amp;nbsp;Minimize&amp;nbsp;button or press CTRL+M when the tools are pinned. The tools become a row at the bottom of the window, providing access to just theCommand Menu&amp;nbsp;bar.&lt;/blockquote&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/02/when-ie8-developer-toolbar-get-confused.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/7251683506127122864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/7251683506127122864'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/02/when-ie8-developer-toolbar-get-confused.html' title='When the IE8 Developer Toolbar get confused while docked...'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-8130639237308197477</id><published>2010-02-11T11:31:00.001+13:00</published><updated>2010-02-11T11:32:35.063+13:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Things in SQL Oracle Developer I LIKE (and wish I had in MS SSMS)</title><content type='html'>1) Ability to filter objects (SPROC/functions/tables) with a LIKE (not a contains) and have multiple filters on at the same time&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;LIKE &#39;usp_hv%&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;OR &amp;nbsp; &#39;xsp_hv%&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;OR &amp;nbsp; &#39;%maint&#39;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Ability to search within CODE using SQL without opening a&amp;nbsp;separate&amp;nbsp;tool&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;SELECT type, name, line, text&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;FROM &amp;nbsp; user_source&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;WHERE &amp;nbsp;UPPER(text) LIKE UPPER(&#39;%Text to search for%&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://draft.blogger.com/post-create.g?blogID=7458742&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/02/things-in-sql-oracle-developer-i-like.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8130639237308197477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/8130639237308197477'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/02/things-in-sql-oracle-developer-i-like.html' title='Things in SQL Oracle Developer I LIKE (and wish I had in MS SSMS)'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-1119535628860527111</id><published>2010-01-25T16:50:00.001+13:00</published><updated>2010-01-25T16:53:22.757+13:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Outer join shortcut? DO NOT USE</title><content type='html'>Every now and again I find this awful SQL notation. (this is a note so I don&#39;t have to google it again)&lt;br /&gt;
Terse code is fine as long as you know what all the squiggly bits mean!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.dbforums.com/microsoft-sql-server/1624617-outer-join-shortcut.html&quot;&gt;outer join shortcut? - dBforums&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: yellow; color: red;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; color: red;&quot;&gt;*=&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt; is a &lt;b&gt;LEFT&lt;/b&gt; JOIN&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: yellow; color: red;&quot;&gt;=*&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt; is a &lt;b&gt;RIGHT&lt;/b&gt; JOIN. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black;&quot;&gt;It is a T_SQL extension and was valid up thru SQL 2000 It is no longer available in SQL 2005.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black;&quot;&gt;It is not in the ANSI Standard, so if you want your code to run in SQL Server later than 2000, do not use it!&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/01/outer-join-shortcut-do-not-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/1119535628860527111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/1119535628860527111'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/01/outer-join-shortcut-do-not-use.html' title='Outer join shortcut? DO NOT USE'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7458742.post-7798840825911003479</id><published>2010-01-18T09:06:00.000+13:00</published><updated>2010-01-18T09:06:32.429+13:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Graphics"/><title type='text'>Nice overview for creating Realistic looking objects</title><content type='html'>&lt;a href=&quot;http://flyosity.com/tutorial/crafting-subtle-realistic-user-interfaces.php&quot;&gt;Crafting Subtle &amp;amp; Realistic User Interfaces&lt;/a&gt;</content><link rel='replies' type='text/html' href='http://mrdee.blogspot.com/2010/01/nice-overview-for-creating-realistic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/7798840825911003479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7458742/posts/default/7798840825911003479'/><link rel='alternate' type='text/html' href='http://mrdee.blogspot.com/2010/01/nice-overview-for-creating-realistic.html' title='Nice overview for creating Realistic looking objects'/><author><name>Mr Dee</name><uri>http://www.blogger.com/profile/14565553623502321005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuebdgUDBZrNVuxDp7STacfYqQlq9plFt-rijqLnp9rWoB0A4sDGuyoGRHzTPR5742WqPRUUSfR13CxJ9Jec5MAG4rdDSv0GnN2FivfzMNS1cIHW0jXVT5eqnM4zW9PrsrUODHs_Vz2xxVA7VdbrthOdArrA45hyphenhyphens9bLDEKW73toet3LE/s220/Profile.jpg'/></author><thr:total>0</thr:total></entry></feed>