<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Puzzle &#8211; Computed Columns Datatype Explanation</title>
	<atom:link href="http://blog.sqlauthority.com/2008/09/27/sql-server-puzzle-computed-columns-datatype-explanation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/09/27/sql-server-puzzle-computed-columns-datatype-explanation/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Rohit</title>
		<link>http://blog.sqlauthority.com/2008/09/27/sql-server-puzzle-computed-columns-datatype-explanation/#comment-44649</link>
		<dc:creator><![CDATA[Rohit]]></dc:creator>
		<pubDate>Tue, 09 Dec 2008 14:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1314#comment-44649</guid>
		<description><![CDATA[how can i change the datatype of a computed coulmn.]]></description>
		<content:encoded><![CDATA[<p>how can i change the datatype of a computed coulmn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - Puzzle - Solution - Computed Columns Datatype Explanation Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2008/09/27/sql-server-puzzle-computed-columns-datatype-explanation/#comment-43345</link>
		<dc:creator><![CDATA[SQL SERVER - Puzzle - Solution - Computed Columns Datatype Explanation Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Mon, 29 Sep 2008 01:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1314#comment-43345</guid>
		<description><![CDATA[[...] 29, 2008 by pinaldave    Just a day before I wrote article SQL SERVER - Puzzle - Computed Columns Datatype Explanation which was inspired by SQL Server MVP Jacob Sebastian. I suggest that before continuing this article [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 29, 2008 by pinaldave    Just a day before I wrote article SQL SERVER &#8211; Puzzle &#8211; Computed Columns Datatype Explanation which was inspired by SQL Server MVP Jacob Sebastian. I suggest that before continuing this article [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2008/09/27/sql-server-puzzle-computed-columns-datatype-explanation/#comment-43318</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Sat, 27 Sep 2008 07:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1314#comment-43318</guid>
		<description><![CDATA[Hi Jacob,

You are correct.

TinyInt can not be defined as SIGNED. It is always UNSIGNED. I have fixed it original post.

SQL Server 2008 does not allow as well. 

http://msdn.microsoft.com/en-us/library/ms187745.aspx

Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Hi Jacob,</p>
<p>You are correct.</p>
<p>TinyInt can not be defined as SIGNED. It is always UNSIGNED. I have fixed it original post.</p>
<p>SQL Server 2008 does not allow as well. </p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms187745.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms187745.aspx</a></p>
<p>Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kinjal</title>
		<link>http://blog.sqlauthority.com/2008/09/27/sql-server-puzzle-computed-columns-datatype-explanation/#comment-43316</link>
		<dc:creator><![CDATA[Kinjal]]></dc:creator>
		<pubDate>Sat, 27 Sep 2008 07:18:34 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1314#comment-43316</guid>
		<description><![CDATA[Hi Dave,

This Knowledge Sessions are quite helpful for us. we can take a break out of our Schedule to Reply &amp; Learn somthin New...

Keep it up Guru....

I guess it would be option a) It will error out.

Good Day...]]></description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>This Knowledge Sessions are quite helpful for us. we can take a break out of our Schedule to Reply &amp; Learn somthin New&#8230;</p>
<p>Keep it up Guru&#8230;.</p>
<p>I guess it would be option a) It will error out.</p>
<p>Good Day&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob sebastian</title>
		<link>http://blog.sqlauthority.com/2008/09/27/sql-server-puzzle-computed-columns-datatype-explanation/#comment-43313</link>
		<dc:creator><![CDATA[Jacob sebastian]]></dc:creator>
		<pubDate>Sat, 27 Sep 2008 05:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1314#comment-43313</guid>
		<description><![CDATA[This discussion is getting very interesting. The same precedence rules applicable for a CASE expression too. 

For example:
DECLARE @var INT
SELECT @var = 1

SELECT
	CASE @var
		WHEN 1 THEN 1
		WHEN 2 THEN 5.0
	END AS Value
/*
Value
---------------------------------------
1.0

Returns 1.0 instead of 1 because the second case
expression returns a float
*/


btw: how do you define a TINYINT data type as UNSIGNED? I don&#039;t find this documented: http://msdn.microsoft.com/en-us/library/aa933198(SQL.80).aspx]]></description>
		<content:encoded><![CDATA[<p>This discussion is getting very interesting. The same precedence rules applicable for a CASE expression too. </p>
<p>For example:<br />
DECLARE @var INT<br />
SELECT @var = 1</p>
<p>SELECT<br />
	CASE @var<br />
		WHEN 1 THEN 1<br />
		WHEN 2 THEN 5.0<br />
	END AS Value<br />
/*<br />
Value<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
1.0</p>
<p>Returns 1.0 instead of 1 because the second case<br />
expression returns a float<br />
*/</p>
<p>btw: how do you define a TINYINT data type as UNSIGNED? I don&#8217;t find this documented: <a href="http://msdn.microsoft.com/en-us/library/aa933198(SQL.80).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa933198(SQL.80).aspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

