<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to change null values into something else in MS SQL Server</title>
	<link>http://www.blendedtechnologies.com/how-to-change-null-values-into-something-else-in-ms-sql-server/14</link>
	<description>Established January 2005</description>
	<pubDate>Thu, 09 Feb 2012 10:13:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>

	<item>
		<title>by: Administrator</title>
		<link>http://www.blendedtechnologies.com/how-to-change-null-values-into-something-else-in-ms-sql-server/14#comment-24</link>
		<pubDate>Wed, 21 Sep 2005 23:21:24 +0000</pubDate>
		<guid>http://www.blendedtechnologies.com/how-to-change-null-values-into-something-else-in-ms-sql-server/14#comment-24</guid>
					<description>Thanks for the correction.  I'll try it out the next time I get my hands on SQL server.</description>
		<content:encoded><![CDATA[<p>Thanks for the correction.  I&#8217;ll try it out the next time I get my hands on SQL server.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: cco</title>
		<link>http://www.blendedtechnologies.com/how-to-change-null-values-into-something-else-in-ms-sql-server/14#comment-23</link>
		<pubDate>Wed, 21 Sep 2005 23:16:16 +0000</pubDate>
		<guid>http://www.blendedtechnologies.com/how-to-change-null-values-into-something-else-in-ms-sql-server/14#comment-23</guid>
					<description>This doesn't do exactly what you think it does.  While it will set all NULL values of field to the value you want, it will also change any value of field that is = 1.

The correct way to do this is simple:

update [table] set [field]='value you want' where [field] is null</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t do exactly what you think it does.  While it will set all NULL values of field to the value you want, it will also change any value of field that is = 1.</p>
<p>The correct way to do this is simple:</p>
<p>update [table] set [field]=&#8217;value you want&#8217; where [field] is null
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

