<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>villelink &#187; Databases</title>
	<atom:link href="http://www.villelink.com/category/code/databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.villelink.com</link>
	<description>Ramblings of a computer programmer.</description>
	<lastBuildDate>Wed, 17 Mar 2010 21:17:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>T-SQL Only return date in a date time.</title>
		<link>http://www.villelink.com/2009/09/03/t-sql-only-return-date-in-a-date-time/</link>
		<comments>http://www.villelink.com/2009/09/03/t-sql-only-return-date-in-a-date-time/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 18:42:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[MSSQL2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://www.villelink.com/?p=152</guid>
		<description><![CDATA[Every once in a great while I need to just return the date of a date time and forget about the time part of it.
SELECT CAST(FLOOR(CAST(getDate() AS FLOAT)) AS DATETIME) as MyDate
Obviously you can replace getDate() with a column.
]]></description>
		<wfw:commentRss>http://www.villelink.com/2009/09/03/t-sql-only-return-date-in-a-date-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Duplicate a database via T-SQL</title>
		<link>http://www.villelink.com/2008/11/14/duplicate-a-database-via-t-sql/</link>
		<comments>http://www.villelink.com/2008/11/14/duplicate-a-database-via-t-sql/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 20:08:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[MSSQL2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://www.villelink.com/?p=39</guid>
		<description><![CDATA[I needed to make a stored procedure that could make a copy of a database on a SQL 2005 server. I wanted to do it entirely through T-SQL.
I found this excellent guide at: http://weblogs.asp.net/mschwarz/archive/2004/08/26/220735.aspx
So, thank you Michael&#8217;s blog for the start, but the problem was it did not seem to work on SQL2005. So I [...]]]></description>
		<wfw:commentRss>http://www.villelink.com/2008/11/14/duplicate-a-database-via-t-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
