<?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>SQL Blog - Pieter van Maasdam, Macaw - All Comments</title><link>http://sqlblogcasts.com/blogs/repieter/default.aspx</link><description>SSIS, SSAS, SSRS &amp;amp; other SQL-things I come across...</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>SQL - Wrong results in Isoweek function</title><link>http://sqlblogcasts.com/blogs/repieter/archive/2009/02/24/sql2008-isoweek-in-datepart-function.aspx#11383</link><pubDate>Tue, 24 Feb 2009 12:45:24 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:11383</guid><dc:creator>SQL Blog - Pieter van Maasdam, Macaw</dc:creator><description>&lt;p&gt;See my previous post ( &lt;a rel="nofollow" target="_new" href="http://sqlblogcasts.com/blogs/repieter/archive/2009/02/24/sql2008-isoweek-in-datepart"&gt;sqlblogcasts.com/.../sql2008-isoweek-in-datepart&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=11383" width="1" height="1"&gt;</description></item><item><title>re: SQL - How to add leading zeros to a column</title><link>http://sqlblogcasts.com/blogs/repieter/archive/2007/11/15/sql-how-to-fill-up-a-column.aspx#4294</link><pubDate>Mon, 19 Nov 2007 11:05:46 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:4294</guid><dc:creator>Madhivanan</dc:creator><description>&lt;p&gt;Well. Another method&lt;/p&gt;
&lt;p&gt;SELECT&lt;/p&gt;
&lt;p&gt;m.MemberId,&lt;/p&gt;
&lt;p&gt;RIGHT(POWER(10,5)) + m.MemberId, 5) AS MemberCode&lt;/p&gt;
&lt;p&gt;FROM Member m&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=4294" width="1" height="1"&gt;</description></item><item><title>re: SQL - How to add leading zeros to a column</title><link>http://sqlblogcasts.com/blogs/repieter/archive/2007/11/15/sql-how-to-fill-up-a-column.aspx#4289</link><pubDate>Mon, 19 Nov 2007 09:36:22 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:4289</guid><dc:creator>Repieter</dc:creator><description>&lt;p&gt;Agreed.. It's better to change the number of replications to 5 in this case.&lt;/p&gt;
&lt;p&gt;I didn't have to deal with negative numbers here so this will not occur, but thanks for pointing this out.&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=4289" width="1" height="1"&gt;</description></item><item><title>re: SQL - How to add leading zeros to a column</title><link>http://sqlblogcasts.com/blogs/repieter/archive/2007/11/15/sql-how-to-fill-up-a-column.aspx#4285</link><pubDate>Mon, 19 Nov 2007 09:06:36 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:4285</guid><dc:creator>Madhivanan</dc:creator><description>&lt;p&gt;But if you want to show the data in front end, then I prefer formatting there&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=4285" width="1" height="1"&gt;</description></item><item><title>re: SQL - How to add leading zeros to a column</title><link>http://sqlblogcasts.com/blogs/repieter/archive/2007/11/15/sql-how-to-fill-up-a-column.aspx#4163</link><pubDate>Sat, 17 Nov 2007 11:33:50 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:4163</guid><dc:creator>tonyrogerson</dc:creator><description>&lt;p&gt;Don't forget this method doesn't deal with negative numbers - it makes them invalid; you get 00-123 instead of -00123.&lt;/p&gt;
&lt;p&gt;Tony.&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=4163" width="1" height="1"&gt;</description></item><item><title>re: SQL - How to add leading zeros to a column</title><link>http://sqlblogcasts.com/blogs/repieter/archive/2007/11/15/sql-how-to-fill-up-a-column.aspx#4093</link><pubDate>Fri, 16 Nov 2007 09:59:13 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:4093</guid><dc:creator>simonsabin</dc:creator><description>&lt;p&gt;It is better to onlt replicate the number of 0s you need. So in your case change 10 to 5.&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=4093" width="1" height="1"&gt;</description></item><item><title>Seduction and Relationships  &amp;raquo; Blog Archive   &amp;raquo; SSAS2008 - Create a new dimension</title><link>http://sqlblogcasts.com/blogs/repieter/archive/2007/11/14/ssas2008-create-a-new-dimension.aspx#3991</link><pubDate>Wed, 14 Nov 2007 23:20:51 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:3991</guid><dc:creator>Seduction and Relationships  » Blog Archive   » SSAS2008 - Create a new dimension</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://seduction.yourblogsearch.com/?p=4811"&gt;http://seduction.yourblogsearch.com/?p=4811&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=3991" width="1" height="1"&gt;</description></item></channel></rss>