<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tony Rogerson&amp;#39;s ramblings on SQL Server - All Comments</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/default.aspx</link><description>&lt;table id="table2" cellspacing="1" cellpadding="7"&gt;
&lt;tr&gt;
	&lt;td valign="top" rowspan="2"&gt;&lt;a href="http://www.sql-server.co.uk"&gt;&lt;img border="0" src="http://sqlserverfaq.com/images/tonyrogerson.jpg" alt="" /&gt;&lt;/a&gt;&lt;/td&gt;
	&lt;td align="center"&gt;&lt;font face="Tahoma" color="#008000"&gt;Tony Rogerson is an 
independent SQL Server specialist based in the UK, this is his blog fed 
from his day to day experience as a consultant and work in the SQL community.&lt;/font&gt;
	&lt;/td&gt;
	&lt;td valign="top" rowspan="2"&gt;&lt;a href="http://www.sql-server.co.uk" target="_blank"&gt;&lt;img border="0" src="http://sqlblogcasts.com/photos/blogimages/images/454/secondarythumb.aspx" alt="" /&gt;&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;

&lt;div id="twitter_div" style="font-size:x-small;font-style:normal;"&gt;
&lt;ul id="twitter_update_list"&gt;&lt;/ul&gt;
&lt;a href="http://twitter.com/tonyrogerson" id="twitter-link" style="display:block;text-align:center;"&gt;follow me on Twitter&lt;/a&gt;
&lt;/div&gt;
&lt;script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://twitter.com/statuses/user_timeline/tonyrogerson.json?callback=twitterCallback2&amp;amp;count=3"&gt;&lt;/script&gt;
 
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Interesting Finds: March 14, 2010</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2010/03/13/database-design-surrogate-keys-part-1-of-many-rules-for-surrogate-keys-e-f-codd-and-c-j-date-research-and-problems-they-solve.aspx#13279</link><pubDate>Sun, 14 Mar 2010 13:43:54 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:13279</guid><dc:creator>Jason Haley</dc:creator><description>&lt;p&gt;Interesting Finds: March 14, 2010&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=13279" width="1" height="1"&gt;</description></item><item><title>A Day in the Life of a SharePoint DBA</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2007/06/28/what-is-a-page-split-what-happens-why-does-it-happen-why-worry.aspx#13153</link><pubDate>Fri, 26 Feb 2010 04:29:36 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:13153</guid><dc:creator>Code Capers</dc:creator><description>&lt;p&gt;A Day in the Life of a SharePoint DBA&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=13153" width="1" height="1"&gt;</description></item><item><title>Application Performance: Open Session In View Design Pattern | Cirrus ABS</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/11/16/1345.aspx#13124</link><pubDate>Mon, 22 Feb 2010 21:40:12 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:13124</guid><dc:creator>Application Performance: Open Session In View Design Pattern | Cirrus ABS</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Application Performance: Open Session In View Design Pattern | Cirrus ABS&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=13124" width="1" height="1"&gt;</description></item><item><title>re: Format query output into an HTML table - the easy way</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2008/10/24/format-query-output-into-an-html-table-the-easy-way.aspx#13001</link><pubDate>Mon, 08 Feb 2010 12:58:45 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:13001</guid><dc:creator>redbeard</dc:creator><description>&lt;p&gt;sorry my last comment was in wrong place&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=13001" width="1" height="1"&gt;</description></item><item><title>re: Format query output into an HTML table - the easy way</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2008/10/24/format-query-output-into-an-html-table-the-easy-way.aspx#13000</link><pubDate>Mon, 08 Feb 2010 12:47:24 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:13000</guid><dc:creator>redbeard</dc:creator><description>&lt;p&gt;hi i have one table with 7 fields two of the fields have a username and a text hyperlink value i am attempting to output to either html or php and the user name become an hyperlink the links are required for gaming gangs to enable them to attach each other... is this possible?&lt;/p&gt;
&lt;p&gt;redbeard&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=13000" width="1" height="1"&gt;</description></item><item><title>Count number of words in a string</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2007/12/17/counting-the-number-of-words-in-a-string.aspx#12941</link><pubDate>Thu, 28 Jan 2010 14:30:17 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12941</guid><dc:creator>Madhivanan's TSQL Blog</dc:creator><description>&lt;p&gt;Tony Rogerson in his weblog posted about Counting the number of words in a string Here are two more methods&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12941" width="1" height="1"&gt;</description></item><item><title>Microsoft – Follow best practices – Part 2</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/11/10/1280.aspx#12917</link><pubDate>Mon, 25 Jan 2010 09:03:16 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12917</guid><dc:creator>SQL and the like</dc:creator><description>&lt;p&gt;In addition to my previous post , another best practice is to not use NOLOCK and READ UNCOMMITTED transaction&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12917" width="1" height="1"&gt;</description></item><item><title>Handy SQL Server knowledge nuggets &amp;laquo;  C# Hacker &amp;#8211; The Rambling Coder</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2009/11/24/taking-advantage-of-table-variables-not-being-transactional-application-logging-files-within-a-transaction-and-keeping-what-s-happened.aspx#12913</link><pubDate>Mon, 25 Jan 2010 04:40:54 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12913</guid><dc:creator>Handy SQL Server knowledge nuggets «  C# Hacker – The Rambling Coder</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Handy SQL Server knowledge nuggets &amp;amp;laquo; &amp;nbsp;C# Hacker &amp;amp;#8211; The Rambling Coder&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12913" width="1" height="1"&gt;</description></item><item><title>Fillfactor &amp; Indice su Identity</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2007/06/28/what-is-a-page-split-what-happens-why-does-it-happen-why-worry.aspx#12906</link><pubDate>Sat, 23 Jan 2010 17:39:03 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12906</guid><dc:creator>Francesco Quaratino</dc:creator><description>&lt;p&gt;E&amp;amp;#39; risaputo che per la manutenzione degli indici di database di grandi dimensioni &amp;#232; opportuno lasciare&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12906" width="1" height="1"&gt;</description></item><item><title>How to create a One to One relationship in SQL Server using DRI, Triggers and Views</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2008/01/03/views-they-offer-no-optimisation-benefits-they-are-simply-inline-macros-use-sparingly.aspx#12904</link><pubDate>Sat, 23 Jan 2010 10:51:30 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12904</guid><dc:creator>Tony Rogerson's ramblings on SQL Server</dc:creator><description>&lt;p&gt;It&amp;amp;#39;s beyond me to create a one to one relationship in SQL Server if you are inserting directly into&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12904" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Dundee SQL User Group Meeting this Wed (20 Jan 10) - Tony Rogerson and Allan Mitchell - Tony Rogerson's         [sqlblogcasts.com]        on Topsy.com</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2010/01/18/dundee-sql-user-group-meeting-this-wed-20-jan-10-tony-rogerson-and-allan-mitchell.aspx#12889</link><pubDate>Mon, 18 Jan 2010 14:07:25 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12889</guid><dc:creator>Twitter Trackbacks for                 Dundee SQL User Group Meeting this Wed (20 Jan 10) - Tony Rogerson and Allan Mitchell - Tony Rogerson's         [sqlblogcasts.com]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dundee SQL User Group Meeting this Wed (20 Jan 10) - Tony Rogerson and Allan Mitchell - Tony Rogerson's &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [sqlblogcasts.com] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12889" width="1" height="1"&gt;</description></item><item><title>re: Padding a string with leading zeros</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/05/29/765.aspx#12822</link><pubDate>Mon, 11 Jan 2010 11:32:56 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12822</guid><dc:creator>ValentinoVranken</dc:creator><description>&lt;p&gt;Hi Tony,&lt;/p&gt;
&lt;p&gt;Instead of using a string truncation function to get to the expected length, why not make it the expected size straightaway? &amp;nbsp;It's one function call less and works just fine.&lt;/p&gt;
&lt;p&gt;Here's what I mean:&lt;/p&gt;
&lt;p&gt;declare @number int = 42;&lt;/p&gt;
&lt;p&gt;declare @character char(1) = '0';&lt;/p&gt;
&lt;p&gt;declare @expectedLength int = 8;&lt;/p&gt;
&lt;p&gt;select REPLICATE(@character, @expectedLength - LEN(@number)) + CAST(@number as varchar(8)) as Result;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Valentino.&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12822" width="1" height="1"&gt;</description></item><item><title>SQL Server Event Notifiations - porady praktyczne</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2007/04/06/event-notifications-monitoring-blocked-processes-and-other-events-end-to-end-how-to-set-it-up-and-make-it-work.aspx#12746</link><pubDate>Sun, 20 Dec 2009 14:36:46 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12746</guid><dc:creator>dev2dev</dc:creator><description>&lt;p&gt;SQL Server Event Notifications (EN) to właściwość wprowadzona już w wersji 2005 ale niedoceniona przeze&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12746" width="1" height="1"&gt;</description></item><item><title>Getting a proper Count for a month - Microsoft SQL Server  answers</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2008/01/20/calendar-table-example-and-how-to-use-it.aspx#12714</link><pubDate>Fri, 11 Dec 2009 09:32:29 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12714</guid><dc:creator>Getting a proper Count for a month - Microsoft SQL Server  answers</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Getting a proper Count for a month - Microsoft SQL Server &amp;nbsp;answers&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12714" width="1" height="1"&gt;</description></item><item><title>re: Taking advantage of Table Variables NOT being transactional - application logging files within a transaction and keeping what's happened</title><link>http://sqlblogcasts.com/blogs/tonyrogerson/archive/2009/11/24/taking-advantage-of-table-variables-not-being-transactional-application-logging-files-within-a-transaction-and-keeping-what-s-happened.aspx#12640</link><pubDate>Fri, 27 Nov 2009 11:25:26 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12640</guid><dc:creator>danh</dc:creator><description>&lt;p&gt;Nice nugget, hadn't thought of using them for this.&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12640" width="1" height="1"&gt;</description></item></channel></rss>