<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>intellectually constipated : Data Warehouse</title><link>http://blogs.msdn.com/patrickgallucci/archive/tags/Data+Warehouse/default.aspx</link><description>Tags: Data Warehouse</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>SQL Server Function to merge a date with a time</title><link>http://blogs.msdn.com/patrickgallucci/archive/2007/11/18/sql-server-function-to-merge-a-date-with-a-time.aspx</link><pubDate>Mon, 19 Nov 2007 05:03:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6385343</guid><dc:creator>Patrick Gallucci</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/patrickgallucci/comments/6385343.aspx</comments><wfw:commentRss>http://blogs.msdn.com/patrickgallucci/commentrss.aspx?PostID=6385343</wfw:commentRss><wfw:comment>http://blogs.msdn.com/patrickgallucci/rsscomments.aspx?PostID=6385343</wfw:comment><description>I use this when I need to join two fields. One has a date, the other has a time. &amp;#160; IF EXISTS ( SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N '[util].[uf_MergeDate2Time]' ) AND type in (N 'FN' , N 'IF' , N 'TF' , N 'FS' , N 'FT' )) DROP...(&lt;a href="http://blogs.msdn.com/patrickgallucci/archive/2007/11/18/sql-server-function-to-merge-a-date-with-a-time.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6385343" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/sql+server+2005/default.aspx">sql server 2005</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/Business+Intelligence/default.aspx">Business Intelligence</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/SQL+Function/default.aspx">SQL Function</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/Katmai/default.aspx">Katmai</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/Data+Warehouse/default.aspx">Data Warehouse</category></item><item><title>SQL Server Function to get the Hour of the Year</title><link>http://blogs.msdn.com/patrickgallucci/archive/2007/09/25/sql-server-function-to-get-the-hour-of-the-year.aspx</link><pubDate>Tue, 25 Sep 2007 23:32:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5129083</guid><dc:creator>Patrick Gallucci</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/patrickgallucci/comments/5129083.aspx</comments><wfw:commentRss>http://blogs.msdn.com/patrickgallucci/commentrss.aspx?PostID=5129083</wfw:commentRss><wfw:comment>http://blogs.msdn.com/patrickgallucci/rsscomments.aspx?PostID=5129083</wfw:comment><description>This function returns an integer of the hour of the year passed as a variable. IF EXISTS ( SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N '[util].[uf_GetHourOfYear]' ) AND type IN (N 'FN' , N 'IF' , N 'TF' , N 'FS' , N 'FT' )) DROP FUNCTION [util].[uf_GetHourOfYear]...(&lt;a href="http://blogs.msdn.com/patrickgallucci/archive/2007/09/25/sql-server-function-to-get-the-hour-of-the-year.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5129083" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/sql+server+2005/default.aspx">sql server 2005</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/SQL+Function/default.aspx">SQL Function</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/Katmai/default.aspx">Katmai</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/Data+Warehouse/default.aspx">Data Warehouse</category></item><item><title>SQL Server Function to get the Hour of the Month</title><link>http://blogs.msdn.com/patrickgallucci/archive/2007/09/25/sql-server-function-to-get-the-hour-of-the-month.aspx</link><pubDate>Tue, 25 Sep 2007 23:30:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5128979</guid><dc:creator>Patrick Gallucci</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/patrickgallucci/comments/5128979.aspx</comments><wfw:commentRss>http://blogs.msdn.com/patrickgallucci/commentrss.aspx?PostID=5128979</wfw:commentRss><wfw:comment>http://blogs.msdn.com/patrickgallucci/rsscomments.aspx?PostID=5128979</wfw:comment><description>This function returns an integer of the hour of the month passed as a variable. IF EXISTS ( SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N '[util].[uf_GetHourOfMonth]' ) AND type IN (N 'FN' , N 'IF' , N 'TF' , N 'FS' , N 'FT' )) DROP FUNCTION...(&lt;a href="http://blogs.msdn.com/patrickgallucci/archive/2007/09/25/sql-server-function-to-get-the-hour-of-the-month.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5128979" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/sql+server+2005/default.aspx">sql server 2005</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/SQL+Function/default.aspx">SQL Function</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://blogs.msdn.com/patrickgallucci/archive/tags/Data+Warehouse/default.aspx">Data Warehouse</category></item></channel></rss>