<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Think SQL...</title><description>THINK SQL Blog aims in serving the community in a better way. Its purely non-monetary blog. Please post your valuable articles, share your ideas for writing better scipts in SQL Server. Lets make a new world with good thoughts and good minds. This blog serves the SQL server community all over the world.</description><managingEditor>noreply@blogger.com (Mohammad Shahanshah Ansari)</managingEditor><pubDate>Sat, 12 Oct 2024 03:01:23 +0300</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">49</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://think-sql.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>THINK SQL Blog aims in serving the community in a better way. Its purely non-monetary blog. Please post your valuable articles, share your ideas for writing better scipts in SQL Server. Lets make a new world with good thoughts and good minds. This blog se</itunes:subtitle><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><title>Gopal, your password was successfully reset</title><link>http://think-sql.blogspot.com/2014/12/gopal-your-password-was-successfully.html</link><author>noreply@blogger.com (Unknown)</author><pubDate>Tue, 2 Dec 2014 09:25:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-5665572230710204640</guid><description>&lt;span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;"&gt;You reset your password.&lt;/span&gt;    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="#DFDFDF"&gt;     &lt;tbody&gt;      &lt;tr&gt;       &lt;td colspan="3"&gt;        &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="1"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td&gt;            &lt;div style="height:5px;font-size:5px;line-height:5px;"&gt;             &amp;nbsp;            &lt;/div&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;        &lt;table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td align="center"&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; min-width:290px;" width="540" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td style="font-family:Helvetica,Arial,sans-serif;"&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#DDDDDD"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td align="left" valign="middle" width="95" height="21" id="base-header-logo"&gt;&lt;a style="text-decoration:none;cursor:pointer;border:none;display:block;height:21px;width:100%;" href="http://www.linkedin.com/e/v2?e=134n5o-i36vszt5-3&amp;amp;t=nmp&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification"&gt;&lt;img src="http://s.c.lnkd.licdn.com/scds/common/u/images/email/logos/logo_linkedin_tm_email_95x21_v1.png" width="95" height="21" alt="LinkedIn" style="border:none;text-decoration:none;" /&gt;&lt;/a&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#333333"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="100%"&gt;                    &lt;table width="500" cellspacing="0" cellpadding="1" border="0" class="header-spacer" style="table-layout: fixed;"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td width="500"&gt;                        &lt;div style="height:12px;font-size:12px;line-height:12px;width:500px;"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td style="color: #333333; font-family: Helvetica,Arial,sans-serif; font-size: 15px; line-height: 18px;" align="left"&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-height10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;Hi Gopal,&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;You've successfully changed your LinkedIn password.&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;Thanks for using LinkedIn!&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;The LinkedIn Team&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td&gt;                &lt;div style="height:5px;font-size:5px;line-height:5px"&gt;                 &amp;nbsp;                &lt;/div&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; padding:20px;font-size:13px;line-height:14px;background-color:#f1f1f1;color:#333333" width="540" bgcolor="#F1F1F1" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td&gt;                &lt;!--[if !mso 9]&gt;&lt;!--&gt;                &lt;div class="show-for-mobile" style="background-color:none;width:0;max-height:0;visibility:collapse;overflow:hidden;float:left;display:none;"&gt;                 &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="show-for-mobile" align="left"&gt;                  &lt;tbody&gt;                   &lt;tr&gt;                    &lt;td&gt;When and where this happened:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999"&gt;Date:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;December 2, 2014 11:55 AM&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;Browser:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;Chrome&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;Operating System:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;Windows&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;IP Address:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;114.143.97.209&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;Approximate Location:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;Mumbai, Maharashtra, India&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td colspan="2"&gt;&lt;strong&gt;Didn't do this?&lt;/strong&gt; Be sure to &lt;a style="text-decoration:none;color:#0077B5;" target="blank" href="https://www.linkedin.com/e/v2?e=134n5o-i36vszt5-3&amp;amp;a=uas-request-password-reset&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification"&gt;change your password&lt;/a&gt; right away.&lt;/td&gt;                   &lt;/tr&gt;                  &lt;/tbody&gt;                 &lt;/table&gt;                &lt;/div&gt;                &lt;!--&lt;![endif]--&gt;                &lt;div class="hide-for-mobile"&gt;                 &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="hide-for-mobile" align="left"&gt;                  &lt;tbody&gt;                   &lt;tr&gt;                    &lt;td align="left" colspan="2"&gt;When and where this happened:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left"&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Date:&lt;/td&gt;                    &lt;td align="left"&gt;December 2, 2014 11:55 AM&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Browser:&lt;/td&gt;                    &lt;td align="left"&gt;Chrome&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Operating System:&lt;/td&gt;                    &lt;td align="left"&gt;Windows&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;IP Address:&lt;/td&gt;                    &lt;td align="left"&gt;114.143.97.209&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Approximate Location:&lt;/td&gt;                    &lt;td align="left"&gt;Mumbai, Maharashtra, India&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left"&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" colspan="2"&gt;&lt;strong&gt;Didn't do this?&lt;/strong&gt; Be sure to &lt;a style="text-decoration:none;color:#0077B5;" target="blank" href="https://www.linkedin.com/e/v2?e=134n5o-i36vszt5-3&amp;amp;a=uas-request-password-reset&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification"&gt;change your password&lt;/a&gt; right away.&lt;/td&gt;                   &lt;/tr&gt;                  &lt;/tbody&gt;                 &lt;/table&gt;                &lt;/div&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="540" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td align="left"&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td align="left"&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; font-size:11px; font-family:Helvetica,Arial,sans-serif; color:#999999;" width="100%" class="responsive res-font10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;This email was intended for Gopal Chettri (Sr. Software Developer). &lt;a style="text-decoration:none;color:#0077B5;" href="http://www.linkedin.com/e/v2?e=134n5o-i36vszt5-3&amp;amp;a=customerServiceUrl&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification&amp;amp;articleId=4788"&gt;Learn why we included this.&lt;/a&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;&amp;copy;2014 LinkedIn Ireland, Gardner House, Wilton Plaza, Wilton Place, Dublin 2, Ireland&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;     &lt;/tbody&gt;    &lt;/table&gt;    &lt;img src="http://www.linkedin.com/emimp/134n5o-i36vszt5-3.gif" style="width:1px; height:1px;" /&gt;   </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Gopal, your password was successfully reset</title><link>http://think-sql.blogspot.com/2014/09/gopal-your-password-was-successfully.html</link><author>noreply@blogger.com (Unknown)</author><pubDate>Wed, 17 Sep 2014 19:44:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-7138688339988131172</guid><description>&lt;span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;"&gt;You reset your password.&lt;/span&gt;    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="#DFDFDF"&gt;     &lt;tbody&gt;      &lt;tr&gt;       &lt;td colspan="3"&gt;        &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="1"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td&gt;            &lt;div style="height:5px;font-size:5px;line-height:5px;"&gt;             &amp;nbsp;            &lt;/div&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;        &lt;table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td align="center"&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; min-width:290px;" width="540" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td style="font-family:Helvetica,Arial,sans-serif;"&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#DDDDDD"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td align="left" valign="middle" width="95" height="21" id="base-header-logo"&gt;&lt;a style="text-decoration:none;cursor:pointer;border:none;display:block;height:21px;width:100%;" href="http://www.linkedin.com/e/v2?e=134n5o-i06wgrq3-18&amp;amp;t=nmp&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification"&gt;&lt;img src="http://s.c.lnkd.licdn.com/scds/common/u/images/email/logos/logo_linkedin_tm_email_95x21_v1.png" width="95" height="21" alt="LinkedIn" style="border:none;text-decoration:none;" /&gt;&lt;/a&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#333333"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="100%"&gt;                    &lt;table width="500" cellspacing="0" cellpadding="1" border="0" class="header-spacer" style="table-layout: fixed;"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td width="500"&gt;                        &lt;div style="height:12px;font-size:12px;line-height:12px;width:500px;"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td style="color: #333333; font-family: Helvetica,Arial,sans-serif; font-size: 15px; line-height: 18px;" align="left"&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-height10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;Hi Gopal,&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;You've successfully changed your LinkedIn password.&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;Thanks for using LinkedIn!&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;The LinkedIn Team&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td&gt;                &lt;div style="height:5px;font-size:5px;line-height:5px"&gt;                 &amp;nbsp;                &lt;/div&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; padding:20px;font-size:13px;line-height:14px;background-color:#f1f1f1;color:#333333" width="540" bgcolor="#F1F1F1" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td&gt;                &lt;!--[if !mso 9]&gt;&lt;!--&gt;                &lt;div class="show-for-mobile" style="background-color:none;width:0;max-height:0;visibility:collapse;overflow:hidden;float:left;display:none;"&gt;                 &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="show-for-mobile" align="left"&gt;                  &lt;tbody&gt;                   &lt;tr&gt;                    &lt;td&gt;When and where this happened:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999"&gt;Date:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;September 17, 2014 10:14 PM&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;Browser:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;Chrome&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;Operating System:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;Windows&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;IP Address:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;122.179.177.17&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td style="color:#999999;padding-top:10px;"&gt;Approximate Location:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;Mumbai, Maharashtra, India&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td colspan="2"&gt;&lt;strong&gt;Didn't do this?&lt;/strong&gt; Be sure to &lt;a style="text-decoration:none;color:#0077B5;" target="blank" href="https://www.linkedin.com/e/v2?e=134n5o-i06wgrq3-18&amp;amp;a=uas-request-password-reset&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification"&gt;change your password&lt;/a&gt; right away.&lt;/td&gt;                   &lt;/tr&gt;                  &lt;/tbody&gt;                 &lt;/table&gt;                &lt;/div&gt;                &lt;!--&lt;![endif]--&gt;                &lt;div class="hide-for-mobile"&gt;                 &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="hide-for-mobile" align="left"&gt;                  &lt;tbody&gt;                   &lt;tr&gt;                    &lt;td align="left" colspan="2"&gt;When and where this happened:&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left"&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Date:&lt;/td&gt;                    &lt;td align="left"&gt;September 17, 2014 10:14 PM&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Browser:&lt;/td&gt;                    &lt;td align="left"&gt;Chrome&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Operating System:&lt;/td&gt;                    &lt;td align="left"&gt;Windows&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;IP Address:&lt;/td&gt;                    &lt;td align="left"&gt;122.179.177.17&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:1px;font-size:1px;line-height:1px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" style="color:#999999"&gt;Approximate Location:&lt;/td&gt;                    &lt;td align="left"&gt;Mumbai, Maharashtra, India&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left"&gt;                     &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                      &lt;tbody&gt;                       &lt;tr&gt;                        &lt;td&gt;                         &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                          &amp;nbsp;                         &lt;/div&gt;&lt;/td&gt;                       &lt;/tr&gt;                      &lt;/tbody&gt;                     &lt;/table&gt;&lt;/td&gt;                   &lt;/tr&gt;                   &lt;tr&gt;                    &lt;td align="left" colspan="2"&gt;&lt;strong&gt;Didn't do this?&lt;/strong&gt; Be sure to &lt;a style="text-decoration:none;color:#0077B5;" target="blank" href="https://www.linkedin.com/e/v2?e=134n5o-i06wgrq3-18&amp;amp;a=uas-request-password-reset&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification"&gt;change your password&lt;/a&gt; right away.&lt;/td&gt;                   &lt;/tr&gt;                  &lt;/tbody&gt;                 &lt;/table&gt;                &lt;/div&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="540" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td align="left"&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td align="left"&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; font-size:11px; font-family:Helvetica,Arial,sans-serif; color:#999999;" width="100%" class="responsive res-font10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;This email was intended for Gopal Chettri (Software Developer). &lt;a style="text-decoration:none;color:#0077B5;" href="http://www.linkedin.com/e/v2?e=134n5o-i06wgrq3-18&amp;amp;a=customerServiceUrl&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_reset_password_notification&amp;amp;articleId=4788"&gt;Learn why we included this.&lt;/a&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;&amp;copy;2014 LinkedIn Ireland, Gardner House, Wilton Plaza, Wilton Place, Dublin 2, Ireland&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;     &lt;/tbody&gt;    &lt;/table&gt;    &lt;img src="http://www.linkedin.com/emimp/134n5o-i06wgrq3-18.gif" style="width:1px; height:1px;" /&gt;   </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Gopal, here's the link to reset your password</title><link>http://think-sql.blogspot.com/2014/09/gopal-heres-link-to-reset-your-password.html</link><author>noreply@blogger.com (Unknown)</author><pubDate>Wed, 17 Sep 2014 19:39:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-8837508279138582994</guid><description>&lt;span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;"&gt;Info about changing your password&lt;/span&gt;    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="#DFDFDF"&gt;     &lt;tbody&gt;      &lt;tr&gt;       &lt;td colspan="3"&gt;        &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="1"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td&gt;            &lt;div style="height:5px;font-size:5px;line-height:5px;"&gt;             &amp;nbsp;            &lt;/div&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;        &lt;table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td align="center"&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; min-width:290px;" width="540" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td style="font-family:Helvetica,Arial,sans-serif;"&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#DDDDDD"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td align="left" valign="middle" width="95" height="21" id="base-header-logo"&gt;&lt;a style="text-decoration:none;cursor:pointer;border:none;display:block;height:21px;width:100%;" href="http://www.linkedin.com/e/v2?e=134n5o-i06wak8j-6a&amp;amp;t=nmp&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_password_reset"&gt;&lt;img src="http://s.c.lnkd.licdn.com/scds/common/u/images/email/logos/logo_linkedin_tm_email_95x21_v1.png" width="95" height="21" alt="LinkedIn" style="border:none;text-decoration:none;" /&gt;&lt;/a&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#333333"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="100%"&gt;                    &lt;table width="500" cellspacing="0" cellpadding="1" border="0" class="header-spacer" style="table-layout: fixed;"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td width="500"&gt;                        &lt;div style="height:12px;font-size:12px;line-height:12px;width:500px;"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td style="color: #333333; font-family: Helvetica,Arial,sans-serif; font-size: 15px; line-height: 18px;" align="left"&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-height10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;Hi Gopal,&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;You recently requested a password reset. &lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;To change your LinkedIn password, click &lt;a style="text-decoration:none;color:#0077B5;" href="https://www.linkedin.com/e/rpp/65721660/mageshwaran%2Esubramanian%2Ethinksql%40blogger%2Ecom/6689409392919487395/?hs=true&amp;amp;tok=2WIGjFLK0DR6o1"&gt;here&lt;/a&gt; or paste the following link into your browser: &lt;a style="text-decoration:none;color:#0077B5;" href="https://www.linkedin.com/e/rpp/65721660/mageshwaran%2Esubramanian%2Ethinksql%40blogger%2Ecom/6689409392919487395/?hs=true&amp;amp;tok=2WIGjFLK0DR6o1"&gt;https://www.linkedin.com/e/rpp/65721660/mageshwaran%2Esubramanian%2Ethinksql%40blogger%2Ecom/6689409392919487395/?hs=true&amp;amp;tok=2WIGjFLK0DR6o1&lt;/a&gt; &lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;The link will expire in 24 hours, so be sure to use it right away.&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;Thanks for using LinkedIn!&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;The LinkedIn Team&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="540" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td align="left"&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td align="left"&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; font-size:11px; font-family:Helvetica,Arial,sans-serif; color:#999999;" width="100%" class="responsive res-font10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;This email was intended for Gopal Chettri (Software Developer). &lt;a style="text-decoration:none;color:#0077B5;" href="http://www.linkedin.com/e/v2?e=134n5o-i06wak8j-6a&amp;amp;a=customerServiceUrl&amp;amp;midToken=AQHXwd9IMZ3PpA&amp;amp;ek=security_password_reset&amp;amp;articleId=4788"&gt;Learn why we included this.&lt;/a&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;&amp;copy;2014 LinkedIn Ireland, Gardner House, Wilton Plaza, Wilton Place, Dublin 2, Ireland&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;     &lt;/tbody&gt;    &lt;/table&gt;    &lt;img src="http://www.linkedin.com/emimp/134n5o-i06wak8j-6a.gif" style="width:1px; height:1px;" /&gt;   </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>I'd like to add you to my professional network on LinkedIn</title><link>http://think-sql.blogspot.com/2014/09/id-like-to-add-you-to-my-professional.html</link><author>noreply@blogger.com (Unknown)</author><pubDate>Mon, 15 Sep 2014 13:13:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-7093306109348525339</guid><description>&lt;span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;"&gt;&lt;/span&gt;    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="#DFDFDF"&gt;     &lt;tbody&gt;      &lt;tr&gt;       &lt;td colspan="3"&gt;        &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="1"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td&gt;            &lt;div style="height:5px;font-size:5px;line-height:5px;"&gt;             &amp;nbsp;            &lt;/div&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;      &lt;tr&gt;       &lt;td&gt;        &lt;table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;"&gt;         &lt;tbody&gt;          &lt;tr&gt;           &lt;td align="center"&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; min-width:290px;" width="600" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td style="font-family:Helvetica,Arial,sans-serif;"&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#DDDDDD"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td align="left" valign="middle" width="95" height="21" id="base-header-logo"&gt;&lt;a style="text-decoration:none;cursor:pointer;border:none;display:block;height:21px;width:100%;" href="http://www.linkedin.com/blink?simpleRedirect=7hPpnlDnSlQqnpKqjRHpipLpSZIbmlQqnpKqiRQsSlRpORIrmkZpSVFqSdxsDgCs6RKfngCdyRArj1JrzcMqiRLuDdRdSMZpjYOtyZBbSRLoOVKqmhBqSVFr2VTtTsLbPFMt7hE&amp;amp;msgID=I7890020462_1&amp;amp;markAsRead="&gt;&lt;img src="http://s.c.lnkd.licdn.com/scds/common/u/images/email/logos/logo_linkedin_tm_email_95x21_v1.png" width="95" height="21" alt="LinkedIn" style="border:none;text-decoration:none;" /&gt;&lt;/a&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;div style="height:8px;font-size:8px;line-height:8px"&gt;                     &amp;nbsp;                    &lt;/div&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;" width="100%" bgcolor="#333333"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="100%"&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:12px;font-size:12px;line-height:12px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="responsive-spacer"&gt;                    &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="#FFFFFF"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td style="color: #333333; font-family: Helvetica,Arial,sans-serif; font-size: 15px; line-height: 18px;" align="left"&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-height10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td width="120" valign="top" style="vertical-align: top;"&gt;&lt;img alt="Mageshwaran Subramanian" src="http://m.c.lnkd.licdn.com/mpr/mpr/shrink_60_60/p/1/005/027/116/0092354.jpg" width="60" height="60" border="0" style="border:none;outline:hidden;" /&gt;&lt;/td&gt;                           &lt;td width="20"&gt;                            &lt;table width="20" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                             &lt;tbody&gt;                              &lt;tr&gt;                               &lt;td&gt;                                &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                                 &amp;nbsp;                                &lt;/div&gt;&lt;/td&gt;                              &lt;/tr&gt;                             &lt;/tbody&gt;                            &lt;/table&gt;&lt;/td&gt;                           &lt;td style="vertical-align: top; font-family: Helvetica,Arial,sans-serif;" width="100%"&gt;                            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"&gt;                             &lt;tbody&gt;                              &lt;tr&gt;                               &lt;td style="font-size: 20px; font-weight: bold; color:#333333;" valign="top"&gt;Mageshwaran Subramanian&lt;/td&gt;                              &lt;/tr&gt;                              &lt;tr&gt;                               &lt;td style="color:#333333;font-size:15px;" class="res-font16"&gt;Data Migration Consultant at Utopia&lt;/td&gt;                              &lt;/tr&gt;                              &lt;tr&gt;                               &lt;td style="color:#B3B3B3;font-size:13px;" class="res-font16"&gt;Bengaluru Area, India&lt;/td&gt;                              &lt;/tr&gt;                             &lt;/tbody&gt;                            &lt;/table&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td style="border-bottom:1px solid #e5e5e5;"&gt;                            &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                             &lt;tbody&gt;                              &lt;tr&gt;                               &lt;td&gt;                                &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                                 &amp;nbsp;                                &lt;/div&gt;&lt;/td&gt;                              &lt;/tr&gt;                             &lt;/tbody&gt;                            &lt;/table&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td style="font-family:Helvetica,Arial,sans-serif;color:#333333;font-size:15px;"&gt;I'd like to add you to my professional network on LinkedIn.&lt;/td&gt;                          &lt;/tr&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                             &lt;tbody&gt;                              &lt;tr&gt;                               &lt;td&gt;                                &lt;div style="height:15px;font-size:15px;line-height:15px"&gt;                                 &amp;nbsp;                                &lt;/div&gt;&lt;/td&gt;                              &lt;/tr&gt;                             &lt;/tbody&gt;                            &lt;/table&gt;&lt;/td&gt;                          &lt;/tr&gt;                          &lt;tr&gt;                           &lt;td&gt;- Mageshwaran&lt;/td&gt;                          &lt;/tr&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                             &lt;tbody&gt;                              &lt;tr&gt;                               &lt;td&gt;                                &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                                 &amp;nbsp;                                &lt;/div&gt;&lt;/td&gt;                              &lt;/tr&gt;                             &lt;/tbody&gt;                            &lt;/table&gt;&lt;/td&gt;                          &lt;/tr&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;table border="0" cellpadding="0" cellspacing="0" align="left"&gt;                             &lt;tbody&gt;                              &lt;tr&gt;                               &lt;td align="center" height="30" valign="middle" bgcolor="#287BBC" background="http://s.c.lnkd.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png" style="background:url(http://s.c.lnkd.licdn.com/scds/common/u/img/email/bg_btn_katy_blue_medium.png) repeat-x scroll bottom #287BBC;background-color:#287BBC;border:1px solid #1B5480;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; cursor: pointer;"&gt;                                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" bgcolor="transparent"&gt;                                 &lt;tbody&gt;                                  &lt;tr&gt;                                   &lt;td width="13"&gt;                                    &lt;table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                                     &lt;tbody&gt;                                      &lt;tr&gt;                                       &lt;td&gt;                                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                                         &amp;nbsp;                                        &lt;/div&gt;&lt;/td&gt;                                      &lt;/tr&gt;                                     &lt;/tbody&gt;                                    &lt;/table&gt;&lt;/td&gt;                                   &lt;td&gt;&lt;a href="http://www.linkedin.com/blink?simpleRedirect=d30Pd3kTe3sUcjcQcP8OdP4VdjR4imVLqnhxt6BSrCACsn9HhDl6ukoZumlbp6lOomxP9DhPpnlDnSlQqnpKqjRHpipxt6cJpnhFtCVFbnhPpnlDbmNJpjRDrCBHoS5Ot2pBt6BSrABDpl9BsD0ZoioSbmhJc6RKcP1FbmZWsTkTr3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&amp;amp;msgID=I7890020462_1&amp;amp;markAsRead=" style="text-decoration:none; font-size: 13px;font-family: Helvetica,Arial,sans-serif;font-weight: bold;color: white;white-space: nowrap;display: block;" target="_blank"&gt;&lt;span style="font-size: 13px;font-family: Helvetica,Arial,sans-serif;font-weight: bold;color: white;white-space: nowrap;display: block;"&gt;Confirm that you know Mageshwaran&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;                                   &lt;td width="13"&gt;                                    &lt;table width="13px" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                                     &lt;tbody&gt;                                      &lt;tr&gt;                                       &lt;td&gt;                                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                                         &amp;nbsp;                                        &lt;/div&gt;&lt;/td&gt;                                      &lt;/tr&gt;                                     &lt;/tbody&gt;                                    &lt;/table&gt;&lt;/td&gt;                                  &lt;/tr&gt;                                 &lt;/tbody&gt;                                &lt;/table&gt;&lt;/td&gt;                              &lt;/tr&gt;                             &lt;/tbody&gt;                            &lt;/table&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                   &lt;td width="20" class="res-width10"&gt;                    &lt;table width="20px" border="0" cellspacing="0" cellpadding="1" class="email-spacer res-width10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:0px;font-size:0px;line-height:0px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;            &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="600" class="responsive"&gt;             &lt;tbody&gt;              &lt;tr&gt;               &lt;td align="left"&gt;                &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; " width="100%" class="responsive"&gt;                 &lt;tbody&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td align="left"&gt;                    &lt;table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; font-size:11px; font-family:Helvetica,Arial,sans-serif; color:#999999;" width="100%" class="responsive res-font10"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. &lt;a style="text-decoration:none;color:#0077B5;" href="http://www.linkedin.com/blink?simpleRedirect=6RLoQkO9n9BpStLr68Md2lIsndHrCBEt4kO9mVxqmVxrm5OoDlPhj8BrC5OontEsSlDomQZr6BxrmkCt71xc38UqzdPtCsOr39SfmhFoioNdz0MczRAqioNbjRAqmQCdyRArj1JrzcMqiRLuDdRdSMZp6BB9DhPpnlDnSlQqnpKqjRHpiphdzdAhktElApOrkphgjRKpmJLl6hFripPrDkZt2oSbmhJc6RKcP1FbmZWsTkTr3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&amp;amp;msgID=I7890020462_1&amp;amp;markAsRead="&gt;Unsubscribe&lt;/a&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;&lt;a style="text-decoration:none;color:#0077B5;" href="http://www.linkedin.com/blink?simpleRedirect=0Ue3sQfmh9pmNzqnhOoipQsSlRpRZBt6BSrCAZqSkCr79lpmdFtD9BkT9BrmZQsTlzfm4CdyRArj1JrzcMqiRLuDdRdSMZpjYOtyZBbSRLoOVKqmhBqSVFr2VTtTsLbPFMt7hE&amp;amp;msgID=I7890020462_1&amp;amp;markAsRead="&gt;Learn why we included this.&lt;/a&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;If you need assistance or have questions, please contact &lt;a style="color:#0077B5;text-decoration:none;" target="_blank" href="http://www.linkedin.com/blink?simpleRedirect=1QsSlRpRZBt6BSrCAZqSkCr79lpmdFtD9BkT9BrmZQsTlzfm4CdyRArj1JrzcMqiRLuDdRdSMZpjYOtyZBbSRLoOVKqmhBqSVFr2VTtTsLbPFMt7hE&amp;amp;msgID=I7890020462_1&amp;amp;markAsRead="&gt;LinkedIn Customer Service&lt;/a&gt;.&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                         &lt;tbody&gt;                          &lt;tr&gt;                           &lt;td&gt;                            &lt;div style="height:10px;font-size:10px;line-height:10px"&gt;                             &amp;nbsp;                            &lt;/div&gt;&lt;/td&gt;                          &lt;/tr&gt;                         &lt;/tbody&gt;                        &lt;/table&gt;&lt;/td&gt;                      &lt;/tr&gt;                      &lt;tr&gt;                       &lt;td&gt;&amp;copy; 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;                    &lt;table width="1" border="0" cellspacing="0" cellpadding="1" class="email-spacer"&gt;                     &lt;tbody&gt;                      &lt;tr&gt;                       &lt;td&gt;                        &lt;div style="height:20px;font-size:20px;line-height:20px"&gt;                         &amp;nbsp;                        &lt;/div&gt;&lt;/td&gt;                      &lt;/tr&gt;                     &lt;/tbody&gt;                    &lt;/table&gt;&lt;/td&gt;                  &lt;/tr&gt;                 &lt;/tbody&gt;                &lt;/table&gt;&lt;/td&gt;              &lt;/tr&gt;             &lt;/tbody&gt;            &lt;/table&gt;&lt;/td&gt;          &lt;/tr&gt;         &lt;/tbody&gt;        &lt;/table&gt;&lt;/td&gt;      &lt;/tr&gt;     &lt;/tbody&gt;    &lt;/table&gt;    &lt;img src="http://www.linkedin.com/emimp/l7uszo-i03nm0md-6.gif" style="width:1px; height:1px;" /&gt;   </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>creating an Identity column</title><link>http://think-sql.blogspot.com/2011/03/creating-identity-column_01.html</link><author>noreply@blogger.com (kishore kumar P)</author><pubDate>Tue, 1 Mar 2011 09:14:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-279849072573147120</guid><description>&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; "&gt;&lt;pre&gt;&lt;code&gt;This will create an identity column in the following table.&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; white-space: normal; "&gt;&lt;pre&gt;&lt;code&gt;CREATE TABLE dbo.MyTable (    ID INT IDENTITY(1,1)    ,MyShortDesc varchar(20)     ,MyLongDesc varchar(500)    );&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Data file locations</title><link>http://think-sql.blogspot.com/2010/06/data-file-locations.html</link><category>Data files</category><category>LDF</category><category>master_files</category><category>MDF</category><category>system tables in SQL server</category><author>noreply@blogger.com (Unknown)</author><pubDate>Thu, 3 Jun 2010 14:13:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-1728407777278489363</guid><description>Here's a query which displays the .mdf and .ldf location of all the databases in the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SELECT physical_name&lt;br /&gt;
FROM master.sys.master_files</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Sequence number within a group</title><link>http://think-sql.blogspot.com/2010/04/sequence-number-within-group.html</link><category>ROW_NUMBER()</category><category>Sequence number</category><category>SQL Server 2005</category><author>noreply@blogger.com (Unknown)</author><pubDate>Sat, 10 Apr 2010 15:10:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-3339907230252469816</guid><description>&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;The following query can be used to generate the sequence numbers within a group.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;select&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&amp;nbsp;GROUP_ID&lt;/blockquote&gt;&lt;blockquote&gt;, GROUP_COUNTER= ROW_NUMBER()&lt;/blockquote&gt;&lt;blockquote&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;OVER ( &amp;nbsp;PARTITION BY [GROUP_ID]&lt;/blockquote&gt;&lt;blockquote&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;ORDER BY [GROUP_ID]&lt;/blockquote&gt;&lt;blockquote&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;&lt;/blockquote&gt;&lt;blockquote&gt;from GROUP_TABLE&lt;/blockquote&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This query can generate a&amp;nbsp;output&amp;nbsp;like the following.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;b&gt;GROUP_ID &amp;nbsp; &amp;nbsp; &amp;nbsp; GROUP_COUNTER&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;-------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;AAA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;AAA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;AAA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;BBB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;BBB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;CCC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">9</thr:total></item><item><title>SQL Server Video tutorials</title><link>http://think-sql.blogspot.com/2009/10/sql-server-video-tutorials.html</link><category>Download</category><category>SQL tutorials</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Tue, 20 Oct 2009 14:31:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-4351259269803092374</guid><description>&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;There are some good video tutorials available &lt;a href="http://booktraining.org/"&gt;here&lt;/a&gt;.Check it out.&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>An interesting article - Selecting Duplicate Rows in a table</title><link>http://think-sql.blogspot.com/2009/10/interesting-article-selecting-duplicate.html</link><category>Article</category><category>CTE</category><category>Duplicates</category><category>ROW_NUMBER()</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Sun, 18 Oct 2009 13:08:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-3060493766133442234</guid><description>&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;"&gt;Hi All, we are back after a pause.Here's an interesting article which talks about the different ways of selecting the duplicate rows from a table.Hope it will be useful to you.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://weblogs.sqlteam.com/mladenp/archive/2009/10/15/SQL-Server---How-to-get-the-whole-group-of.aspx"&gt;Article&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Question of the day</title><link>http://think-sql.blogspot.com/2009/09/question-of-day_25.html</link><category>COM</category><category>Question of the Day</category><author>noreply@blogger.com (Mohammad Shahanshah Ansari)</author><pubDate>Fri, 25 Sep 2009 11:37:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-8140299247150775204</guid><description>Can you instantiate a COM object by using T-SQL?&lt;br /&gt;&lt;br /&gt;1. True&lt;br /&gt;2. False</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>T-SQL best practices - 4</title><link>http://think-sql.blogspot.com/2009/09/t-sql-best-practices-4.html</link><category>Performance</category><category>T-SQL best practices</category><category>Tips</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Wed, 23 Sep 2009 23:59:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-7452091280877023822</guid><description>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;- The dynamic SQL Performs slower because the optimizer has to create an execution plan for every execution.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;
-Use table aliasing, even if there is no joining in the query. Aliasing eliminates ambiguity, eases subsequent modification, and further reduces the chance of a typo not being recognized.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;
-When querying a table, prefix it with the owner (schema), typically dbo. There is a little performance improvement and query becomes more readable&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Question of the Day</title><link>http://think-sql.blogspot.com/2009/09/question-of-day_23.html</link><category>Cursors</category><category>Question of the Day</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Wed, 23 Sep 2009 07:27:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-8076842584760647977</guid><description>&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;What are the disadvantages of cursors?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Cursor results in a network roundtrip&lt;br /&gt;2. Cursor requires more resources and temporary storage&lt;br /&gt;3. Cursor results in more IO operations&lt;br /&gt;4. 1 &amp;amp; 2&lt;br /&gt;5. 1, 2 &amp;amp; 3&lt;br /&gt;6. None</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>T-SQL best practices - 3</title><link>http://think-sql.blogspot.com/2009/09/t-sql-best-practices-3.html</link><category>Certification</category><category>T-SQL best practices</category><category>Tips</category><category>White papers</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Tue, 22 Sep 2009 22:02:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-4107237955856271784</guid><description>&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Today's tips are not really&amp;nbsp;related&amp;nbsp;to T-SQL,but I hope these will improve the way you approach SQL SERVER.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="direction: ltr; language: en-US; line-height: 90%; margin-bottom: 0pt; margin-left: .38in; margin-top: 5.76pt; text-align: left; text-indent: -.38in; unicode-bidi: embed; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Get Certified&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="direction: ltr; language: en-US; line-height: 90%; margin-bottom: 0pt; margin-left: .38in; margin-top: 5.76pt; text-align: left; text-indent: -.38in; unicode-bidi: embed; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Subscribe to News Groups and blogs to get regular updates&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="direction: ltr; language: en-US; line-height: 90%; margin-bottom: 0pt; margin-left: .38in; margin-top: 5.76pt; text-align: left; text-indent: -.38in; unicode-bidi: embed; vertical-align: baseline;"&gt;&lt;span style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;- Read White papers&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>T-SQL best practices - 2</title><link>http://think-sql.blogspot.com/2009/09/t-sql-best-practices-2.html</link><category>NOLOCK</category><category>T-SQL best practices</category><category>Tips</category><category>XML</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Mon, 21 Sep 2009 21:38:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-4213520363199386655</guid><description>&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Today's best practice techniques are &lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="language:en-US;line-height:90%;margin-top:5.76pt;margin-bottom: 0pt;margin-left:.38in;text-indent:-.38in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;NOLOCK helps in concurrency and performance but can be dangerous for data integrity&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:3.84pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:justify; text-justify:inter-ideograph;direction:ltr;unicode-bidi:embed;vertical-align: baseline"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="language:en-US;line-height:90%;margin-top:5.76pt;margin-bottom: 0pt;margin-left:.38in;text-indent:-.38in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Use XML &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;datatype&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; to pass table valued parameters to procedures.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="O1" style="text-indent: -36px;line-height: 90%; margin-top: 3.84pt; margin-bottom: 0pt; margin-left: 0.81in; text-align: left; direction: ltr; unicode-bidi: embed; vertical-align: baseline; "&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="language:en-US;line-height:90%;margin-top:5.76pt;margin-bottom: 0pt;margin-left:.38in;text-indent:-.38in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Use SQL Server Management Console with integrated Source Control to do the development&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="language:en-US;line-height:90%;margin-top:5.76pt;margin-bottom: 0pt;margin-left:.38in;text-indent:-.38in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;div class="O1" style="language:en-US;line-height:90%;margin-top:3.84pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-size:6;"&gt;&lt;span class="Apple-style-span" style="font-size: 21px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="line-height: 90%; margin-top: 3.84pt; margin-bottom: 0pt; margin-left: 0.81in; text-align: left; direction: ltr; unicode-bidi: embed; vertical-align: baseline; text-indent: -0.31in; "&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>T-SQL best practices - 1</title><link>http://think-sql.blogspot.com/2009/09/t-sql-best-practices-1.html</link><category>Cursors</category><category>T-SQL best practices</category><category>Tips</category><category>Tools</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Sun, 20 Sep 2009 15:45:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-2202405207817190774</guid><description>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Hi All!...we decided to write some posts on the best practices in writing T-SQL,which we think helpful to the newbies.We will list three best practices each day for the next seven days and hope this series will be helpful to all the readers.So today's best practices tips are,&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="language:en-US;line-height:90%;margin-top:5.76pt;margin-bottom: 0pt;margin-left:.38in;text-indent:-.38in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;b&gt;Document your database&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Use Extended properties of the table structures to document the database.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Use tools to generate the documentation and correct where necessary&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Maintain the script for populating the extended properties.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="language:en-US;line-height:90%;margin-top:5.76pt;margin-bottom: 0pt;margin-left:.38in;text-indent:-.38in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;b&gt;Use Cursors only when&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You cannot find a set based solution in 4 Hours&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You want to utilize already existing logic in other SP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You are writing a database maintenance task&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="language:en-US;line-height:90%;margin-top:5.76pt;margin-bottom: 0pt;margin-left:.38in;text-indent:-.38in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;b&gt;Use STATISTICS IO ON&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;–This will r&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;color:black;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;educe the logical reads&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;We need your comments on this post and share the best practices that you are using in the script(related to the above 3 techniques)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="O1" style="language:en-US;line-height:90%;margin-top:4.8pt; margin-bottom:0pt;margin-left:.81in;text-indent:-.31in;text-align:left; direction:ltr;unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Left Padding(LPAD) using REPLICATE</title><link>http://think-sql.blogspot.com/2009/09/left-paddinglpad-using-replicate.html</link><category>LPAD</category><category>Strings</category><category>UDF</category><author>noreply@blogger.com (Thinking SQL Team)</author><pubDate>Sat, 19 Sep 2009 14:30:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-8500206172947383745</guid><description>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Here's a SQL UDF to do the left padding using REPLICATE.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;create function [dbo].[leftpad] &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; (&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;@csrting nvarchar(4000)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;, @nlen smallint&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;, @cpadcharacter nvarchar(4000) = ' ' &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;returns nvarchar(4000)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;as&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;begin&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;         declare @nleftlen smallint,  @nrightlen smallint&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;         declare @length smallint, @lenpadcharacter smallint&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;        select  @length = datalength(@csrting)/(case sql_variant_property(@csrting,'basetype') when 'nvarchar' then 2  else 1 end) &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;        select  @lenpadcharacter = datalength(@cpadcharacter)/(case sql_variant_property(@cpadcharacter,'basetype') when 'nvarchar' then 2  else 1 end) -- for unicode&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;        if @length &gt;= @nlen&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;           set  @csrting = left(@csrting, @nlen)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;        else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;   begin&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;              set @nleftlen = @nlen - @length &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;              set @csrting = left(replicate(@cpadcharacter, ceiling(@nleftlen/@lenpadcharacter) + 2), @nleftlen)+ @csrting&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;           end&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;    return (@csrting)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Working with Hijri Date in SQL server</title><link>http://think-sql.blogspot.com/2009/09/working-with-hijri-date-in-sql-server.html</link><category>Hijri date</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Sat, 12 Sep 2009 15:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-3878471185343361322</guid><description>&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Here's an example to convert the&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; white-space: pre;"&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Hijri"&gt;Hijri Date&lt;/a&gt;&lt;span id="goog_1252760268833"&gt;&lt;/span&gt;&lt;span id="goog_1252760268829"&gt;&lt;/span&gt; to Gregorian date in SQL Server&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: small;"&gt;1430/09/23 is today's&amp;nbsp;&lt;span style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; white-space: pre;"&gt;Hijri &lt;/span&gt;date.Lets see how to convert this into Gregorian date&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;SELECT CONVERT(DATETIME, '23/09/1430', 131)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: small;"&gt;It would return 2009-09-12 00:00:00.000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;The vice-versa,conversion from Gregorian date to&amp;nbsp;&lt;span style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; white-space: pre;"&gt;Hijri &lt;/span&gt;date would be,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;SELECT CONVERT(NCHAR, GETDATE(), 131)&lt;/span&gt;.And this returns&amp;nbsp;23/09/1430 &amp;nbsp;2:52:17:920PM&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total></item><item><title>Top 10 SQL server Performance tuning tips - 10</title><link>http://think-sql.blogspot.com/2009/09/top-10-sql-server-performance-tuning_12.html</link><category>Performance</category><category>Performance monitoring tools</category><category>SQL profiler</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Sat, 12 Sep 2009 04:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-8828104795574078813</guid><description>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Use of performance monitoring tools:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQL server ships with many tools like Profiler,&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Database Engine Tuning Advisor,Index Tuning Wizard,PerfMon,SysMon.Make use of these tools to moniter the performance of your query and take the nessesary actions,if required.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;          Well,  with this post we come to an end of our series of Performance Tuning Steps.I hope its helpful to you to you and we will discuss each steps in detail in coming days.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Top 10 SQL server Performance tuning tips - 9</title><link>http://think-sql.blogspot.com/2009/09/top-10-sql-server-performance-tuning_11.html</link><category>NOLOCK</category><category>Performance</category><category>SELECT</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Fri, 11 Sep 2009 04:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-1222918859797369562</guid><description>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;&lt;b&gt;Use&lt;/b&gt;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;&lt;b&gt;of&lt;/b&gt;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;&lt;b&gt;NOLOCK&lt;/b&gt;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;&lt;b&gt;hint&lt;/b&gt;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;                &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;NOLOCK&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;hint&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;is&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;useful&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;to&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;improve&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;the&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;query&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;performance&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;when&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;selecting&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;the&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;rowset&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;from&lt;/span&gt; a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;table&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;which&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;is&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;being&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;accessed&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;by&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;multiple&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;transaction&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;But&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;this&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;leads&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;to&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;dirty&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;read&lt;/span&gt;.A &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;dirty&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;read&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;is&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;where&lt;/span&gt; a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_36"&gt;query&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_37"&gt;reads&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_38"&gt;data&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_39"&gt;from&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_40"&gt;the&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_41"&gt;database&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_42"&gt;without&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_43"&gt;lock&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_44"&gt;protection&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_45"&gt;Without&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_46"&gt;lock&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_47"&gt;protection&lt;/span&gt;, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_48"&gt;you&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_49"&gt;cannot&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_50"&gt;be&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_51"&gt;guaranteed&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_52"&gt;that&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_53"&gt;the&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_54"&gt;data&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_55"&gt;isn&lt;/span&gt;’t &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_56"&gt;changing&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_57"&gt;during&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_58"&gt;the&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_59"&gt;time&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_60"&gt;that&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_61"&gt;the&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_62"&gt;query&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_63"&gt;is&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_64"&gt;running&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></item><item><title>Top 10 SQL server Performance tuning tips - 8</title><link>http://think-sql.blogspot.com/2009/09/top-10-sql-server-performance-tuning_10.html</link><category>NULL</category><category>Performance</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Thu, 10 Sep 2009 04:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-5222682088112666187</guid><description>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); line-height: 19px;font-family:Verdana;font-size:13;"  &gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Reduce the NULLs&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Reduce the use of NULLs in the database. The use of NULLs in a database can greatly reduce database performance, especially in WHERE clauses.Highly normalized database can achieve this.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Top 10 SQL server Performance tuning tips - 7</title><link>http://think-sql.blogspot.com/2009/09/top-10-sql-server-performance-tuning_09.html</link><category>INDEXES</category><category>Performance</category><category>SELECT</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Wed, 9 Sep 2009 04:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-6065231033467286783</guid><description>&lt;span class="Apple-style-span" style="font-family: Verdana; color: rgb(51, 51, 51); font-size: 13px; line-height: 19px; "&gt;&lt;div&gt;&lt;b&gt;Remove unwanted columns from the SELECT statement&lt;/b&gt;&lt;/div&gt;                          In queries, &lt;i&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;don't return column data you don't need&lt;/span&gt;.&lt;/b&gt;&lt;/i&gt; For example, you should not use SELECT * to return all the columns from a table if you don't need all the data from each column. In addition, using SELECT * may prevent the use of covered indexes, further potentially affect query performance.&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Finding long running queries in SQL server</title><link>http://think-sql.blogspot.com/2009/09/finding-long-running-queries-in-sql.html</link><category>Performance</category><category>SQL Server 2008</category><category>Tips and Tricks</category><author>noreply@blogger.com (Unknown)</author><pubDate>Tue, 8 Sep 2009 22:58:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-2741927337486407837</guid><description>&lt;span class="Apple-style-span" style="line-height: 19px; "&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Here's a query to find the longest running queries.This works in SQL Server 2005 and 2008.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;SELECT DISTINCT TOP &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;10&lt;br /&gt;t.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;TEXT &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;QueryName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.execution_count &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;AS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;ExecutionCount&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.max_elapsed_time &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;AS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;MaxElapsedTime&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;ISNULL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.total_elapsed_time &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;/ &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.execution_count&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;AS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;AvgElapsedTime&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.creation_time &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;AS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;LogCreatedOn&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;ISNULL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.execution_count &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;/ &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;DATEDIFF&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.creation_time&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;GETDATE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;()), &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;AS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;FrequencyPerSec&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;FROM &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;sys.dm_exec_query_stats s&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;CROSS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;APPLY sys.dm_exec_sql_text&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;( &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.sql_handle &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;t&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;ORDER BY&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s.max_elapsed_time &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;DESC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Top 10 SQL server Performance tuning tips - 6</title><link>http://think-sql.blogspot.com/2009/09/top-10-sql-server-performance-tuning_08.html</link><category>CTE</category><category>Cursors</category><category>Performance</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Tue, 8 Sep 2009 04:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-2231968647272225561</guid><description>&lt;b&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Set Based Approach&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Even though procedural approach is easier for most of the programmers,&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;it (Use of Cursor, or, UDF to process rows in a result set) should be avoided when working with large result set.Most of the times cursors can be replaced by CTE(Common Table Expression).&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="  line-height: normal; "&gt;&lt;a href="http://blogs.techrepublic.com.com/datacenter/?p=412"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Avoiding Cursors with SQL Server 2005&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Top 10 SQL server Performance tuning tips - 5</title><link>http://think-sql.blogspot.com/2009/09/top-10-sql-server-performance-tuning_07.html</link><category>Cursors</category><category>Performance</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Mon, 7 Sep 2009 04:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-4054600917619629307</guid><description>&lt;span style="font-weight:bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Avoid cursors&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;br /&gt;            Avoid using cursors.It may result in Deadlocks.Deadlocking occurs when two user processes have locks on separate objects and each process is trying to acquire a lock on the object that the other process has. During this kind of situation, SQL Server identifies the trouble and ends the deadlock by automatically choosing one process and aborting the other process, allowing the other process to continue.&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Top 10 SQL server Performance tuning tips - 4</title><link>http://think-sql.blogspot.com/2009/09/top-10-sql-server-performance-tuning_06.html</link><category>INDEXES</category><category>Performance</category><category>Tips</category><author>noreply@blogger.com (Unknown)</author><pubDate>Sun, 6 Sep 2009 05:00:00 +0300</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8913659610460375389.post-4690710472196562537</guid><description>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;b&gt;Use of Indexes&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;NON CLUSTERED index should be created on a highly selective field.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Order of the fields in the WHERE clause should be same as the index order.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Every table in the DB should have a CLUSTERED index.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Primary Key may not be suitable for clustered index if the table is extensively used for SELECT.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;div style="language:en-US;line-height:90%;margin-top:4.32pt;margin-bottom: 0pt;margin-left:.5in;text-indent:-.5in;text-align:left;direction:ltr; unicode-bidi:embed;vertical-align:baseline"&gt;&lt;span class="Apple-style-span"   style="font-family:Arial;font-size:6;"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:24px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item></channel></rss>