<?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>James Sapara's Personal Blog &#187; Programs</title>
	<atom:link href="http://blog.sapara.com/category/programs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sapara.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 21 Oct 2009 22:48:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dropping Default Constraints in MSSQL</title>
		<link>http://blog.sapara.com/2009/04/30/dropping-default-constraints-in-mssql/</link>
		<comments>http://blog.sapara.com/2009/04/30/dropping-default-constraints-in-mssql/#comments</comments>
		<pubDate>Fri, 01 May 2009 02:08:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[default constraint]]></category>
		<category><![CDATA[default value]]></category>
		<category><![CDATA[drop column with default constraint]]></category>
		<category><![CDATA[mssql]]></category>

		<guid isPermaLink="false">http://blog.sapara.com/?p=397</guid>
		<description><![CDATA[I came across this today: Working With Default Constraints
Basically, if you script any sort of table changes in MSSQL you will eventually need to use this code. In MSSQL&#8217;s infinite wisdom they made default values on NOT NULL columns occasionally have a mysterious constraint. Ordinarily, constraints on fields on tables are easily found in INFORMATION_SCHEMA.TABLE_CONSTRAINTS; [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this today: <a href="http://msdn.microsoft.com/en-us/library/aa175912(SQL.80).aspx">Working With Default Constraints</a></p>
<p>Basically, if you script any sort of table changes in MSSQL you will eventually need to use this code. In MSSQL&#8217;s infinite wisdom they made default values on NOT NULL columns occasionally have a mysterious constraint. Ordinarily, constraints on fields on tables are easily found in INFORMATION_SCHEMA.TABLE_CONSTRAINTS; but, these particular constraints are hidden for whatever reason.</p>
<p>This makes removing them programmatically very difficult, since they insist on putting a timestamp/guid on the end of each auto-generated default constraint. SO, this useful page on the MSDN provides a way to query the actual name of the constraint given the table name and column name. This, allowing you to remove it before you do something completely crazy like delete the column.</p>
<p>Of course, if your not in to scripting your database migrations then you can just use Management Studio and delete the column.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sapara.com/2009/04/30/dropping-default-constraints-in-mssql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moving UnixMailBox (mbox) to an imap server</title>
		<link>http://blog.sapara.com/2006/08/02/moving-unixmailbox-mbox-to-an-imap-server/</link>
		<comments>http://blog.sapara.com/2006/08/02/moving-unixmailbox-mbox-to-an-imap-server/#comments</comments>
		<pubDate>Wed, 02 Aug 2006 17:20:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sapara.com/2006/08/02/moving-unixmailbox-mbox-to-an-imap-server/</guid>
		<description><![CDATA[Basically it reads the mbox file and uploads it to the imap server. Simple and useful for systems where there are not alot of users and you just happen to know their passwords.
Download
]]></description>
			<content:encoded><![CDATA[<p>Basically it reads the mbox file and uploads it to the imap server. Simple and useful for systems where there are not alot of users and you just happen to know their passwords.</p>
<p><a href="http://sapara.com/sourcecode/mboxtoimap.py">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sapara.com/2006/08/02/moving-unixmailbox-mbox-to-an-imap-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
