<?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; Denali &#8211; Conversion Function &#8211; PARSE() &#8211; A Quick Introduction</title>
	<atom:link href="http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Himanshu Gupta</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-224832</link>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
		<pubDate>Sat, 24 Dec 2011 04:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-224832</guid>
		<description><![CDATA[Just tell me what&#039;s Mark Landry]]></description>
		<content:encoded><![CDATA[<p>Just tell me what&#8217;s Mark Landry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Durga Prasad</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-222646</link>
		<dc:creator><![CDATA[Durga Prasad]]></dc:creator>
		<pubDate>Wed, 21 Dec 2011 05:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-222646</guid>
		<description><![CDATA[Yes Mark! This is right situation where we need to switch to PARSE()]]></description>
		<content:encoded><![CDATA[<p>Yes Mark! This is right situation where we need to switch to PARSE()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Durga Prasad</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-222644</link>
		<dc:creator><![CDATA[Durga Prasad]]></dc:creator>
		<pubDate>Wed, 21 Dec 2011 05:02:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-222644</guid>
		<description><![CDATA[Hi Pinal,

Thanks for posting the concept of PARSE() function. It is really needed in a situation where Mark Landry has mentioned.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Thanks for posting the concept of PARSE() function. It is really needed in a situation where Mark Landry has mentioned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Himanshu Gupta</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-221826</link>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
		<pubDate>Tue, 20 Dec 2011 04:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-221826</guid>
		<description><![CDATA[I don’t see any diff between Cast And Parse.Please tell where to give it priority other then old cast functions.]]></description>
		<content:encoded><![CDATA[<p>I don’t see any diff between Cast And Parse.Please tell where to give it priority other then old cast functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Himanshu Gupta</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-221821</link>
		<dc:creator><![CDATA[Himanshu Gupta]]></dc:creator>
		<pubDate>Tue, 20 Dec 2011 04:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-221821</guid>
		<description><![CDATA[I don&#039;t see any diff between Cast And Parse]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t see any diff between Cast And Parse</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-177973</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 12 Oct 2011 13:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-177973</guid>
		<description><![CDATA[The only thing is that you should be using Denali version]]></description>
		<content:encoded><![CDATA[<p>The only thing is that you should be using Denali version</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-177938</link>
		<dc:creator><![CDATA[Ganesh]]></dc:creator>
		<pubDate>Wed, 12 Oct 2011 11:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-177938</guid>
		<description><![CDATA[what are the prerequisites to use  above function in sql server]]></description>
		<content:encoded><![CDATA[<p>what are the prerequisites to use  above function in sql server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Landry</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-173666</link>
		<dc:creator><![CDATA[Mark Landry]]></dc:creator>
		<pubDate>Fri, 30 Sep 2011 19:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-173666</guid>
		<description><![CDATA[Everybody is asking about the difference between Parse, Cast, and Convert. On a 2008 box, I get an error when trying to run a conversion of a string to an integer as shown below. Am I doing something wrong/missing something, or is everybody thinking of converting money to an integer, rather than a string to an integer?

The first segment works fine; the second does not. I believe the errors in the second segment are the target for the PARSE function, right?

DECLARE @money money, @varchar varchar(6), @int int
SELECT @money = &#039;100.00&#039;
SELECT @int = cast(@money as int)
SELECT @money, @int
SELECT @int = convert(int,@money)
SELECT @money, @int

DECLARE @money money, @varchar varchar(6), @int int
SELECT @varchar = &#039;100.00&#039;
--SELECT @int = cast(@varchar as int)	
--Msg 245, Level 16, State 1, Line 3 Conversion failed when converting the varchar value &#039;100.00&#039; to data type int.
SELECT @int = convert(int,@varchar)	
--Msg 245, Level 16, State 1, Line 5 Conversion failed when converting the varchar value &#039;100.00&#039; to data type int.]]></description>
		<content:encoded><![CDATA[<p>Everybody is asking about the difference between Parse, Cast, and Convert. On a 2008 box, I get an error when trying to run a conversion of a string to an integer as shown below. Am I doing something wrong/missing something, or is everybody thinking of converting money to an integer, rather than a string to an integer?</p>
<p>The first segment works fine; the second does not. I believe the errors in the second segment are the target for the PARSE function, right?</p>
<p>DECLARE @money money, @varchar varchar(6), @int int<br />
SELECT @money = &#8217;100.00&#8242;<br />
SELECT @int = cast(@money as int)<br />
SELECT @money, @int<br />
SELECT @int = convert(int,@money)<br />
SELECT @money, @int</p>
<p>DECLARE @money money, @varchar varchar(6), @int int<br />
SELECT @varchar = &#8217;100.00&#8242;<br />
&#8211;SELECT @int = cast(@varchar as int)<br />
&#8211;Msg 245, Level 16, State 1, Line 3 Conversion failed when converting the varchar value &#8217;100.00&#8242; to data type int.<br />
SELECT @int = convert(int,@varchar)<br />
&#8211;Msg 245, Level 16, State 1, Line 5 Conversion failed when converting the varchar value &#8217;100.00&#8242; to data type int.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-170605</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 22 Sep 2011 09:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-170605</guid>
		<description><![CDATA[It is same. Parse() is just like cast or convert.]]></description>
		<content:encoded><![CDATA[<p>It is same. Parse() is just like cast or convert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Dewada</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-170242</link>
		<dc:creator><![CDATA[Rahul Dewada]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 09:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-170242</guid>
		<description><![CDATA[Parse() is work same like Cast(). What is difference between these two functions?]]></description>
		<content:encoded><![CDATA[<p>Parse() is work same like Cast(). What is difference between these two functions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Denali &#8211; 14 New Functions &#8211; A Quick Guide &#171; Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-170114</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Denali &#8211; 14 New Functions &#8211; A Quick Guide &#171; Journey to SQLAuthority]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 01:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-170114</guid>
		<description><![CDATA[[...] PARSE [...]]]></description>
		<content:encoded><![CDATA[<p>[...] PARSE [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Denali – Conversion Function – Difference between PARSE(), TRY_PARSE(), TRY_CONVERT() Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-166696</link>
		<dc:creator><![CDATA[SQL SERVER – Denali – Conversion Function – Difference between PARSE(), TRY_PARSE(), TRY_CONVERT() Journey to SQLAuthority]]></dc:creator>
		<pubDate>Fri, 09 Sep 2011 02:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-166696</guid>
		<description><![CDATA[[...] PARSE()  TRY_PARSE()  TRY_CONVERT() [...]]]></description>
		<content:encoded><![CDATA[<p>[...] PARSE()  TRY_PARSE()  TRY_CONVERT() [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Denali – Conversion Function – TRY_PARSE() – A Quick Introduction Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-166451</link>
		<dc:creator><![CDATA[SQL SERVER – Denali – Conversion Function – TRY_PARSE() – A Quick Introduction Journey to SQLAuthority]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 06:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-166451</guid>
		<description><![CDATA[[...] SQL SERVER &#8211; Denali &#8211; Conversion Function &#8211; PARSE() &#8211; A Quick&#160;Introduct... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; Denali &#8211; Conversion Function &#8211; PARSE() &#8211; A Quick&nbsp;Introduct&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Denali – Conversion Function – TRY_CONVERT() – A Quick Introduction Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-166449</link>
		<dc:creator><![CDATA[SQL SERVER – Denali – Conversion Function – TRY_CONVERT() – A Quick Introduction Journey to SQLAuthority]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 06:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-166449</guid>
		<description><![CDATA[[...] SQL SERVER &#8211; Denali &#8211; Conversion Function &#8211; PARSE() &#8211; A Quick&#160;Introduct... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; Denali &#8211; Conversion Function &#8211; PARSE() &#8211; A Quick&nbsp;Introduct&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shatrughna kumar</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-166032</link>
		<dc:creator><![CDATA[shatrughna kumar]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 16:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-166032</guid>
		<description><![CDATA[I was not aware about this function in SQL.
Thanks for sharing with us.
Nice post.]]></description>
		<content:encoded><![CDATA[<p>I was not aware about this function in SQL.<br />
Thanks for sharing with us.<br />
Nice post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raghav</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-165946</link>
		<dc:creator><![CDATA[Raghav]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 10:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-165946</guid>
		<description><![CDATA[Thankyou Sir for this valuable post. Waiting for the post on next two functions.]]></description>
		<content:encoded><![CDATA[<p>Thankyou Sir for this valuable post. Waiting for the post on next two functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Partha Pratim Dinda</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-165893</link>
		<dc:creator><![CDATA[Partha Pratim Dinda]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 07:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-165893</guid>
		<description><![CDATA[Hi pinal,
Thanks for sharing this concept.Can you elaborate your post that means where to use it and what is its advantage over cast/convert.
I will wait for your post regarding TRY_PARSE() and 
TRY_CONVERT().]]></description>
		<content:encoded><![CDATA[<p>Hi pinal,<br />
Thanks for sharing this concept.Can you elaborate your post that means where to use it and what is its advantage over cast/convert.<br />
I will wait for your post regarding TRY_PARSE() and<br />
TRY_CONVERT().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-165868</link>
		<dc:creator><![CDATA[Rajesh]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 05:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-165868</guid>
		<description><![CDATA[HI  Pinal  ,
Nice  post .  Can  u tell me what is the difference  b/w  old Cast /Convert to that of the new function  Parse  in Denali ?..]]></description>
		<content:encoded><![CDATA[<p>HI  Pinal  ,<br />
Nice  post .  Can  u tell me what is the difference  b/w  old Cast /Convert to that of the new function  Parse  in Denali ?..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Varinder Sandhu</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-165829</link>
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 02:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-165829</guid>
		<description><![CDATA[Thanks for sharing Pinal 

This is really new function that i learned in sql 

waiting for next article on TRY_PARSE() and TRY_CONVERT()]]></description>
		<content:encoded><![CDATA[<p>Thanks for sharing Pinal </p>
<p>This is really new function that i learned in sql </p>
<p>waiting for next article on TRY_PARSE() and TRY_CONVERT()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Kellington (@kellington)</title>
		<link>http://blog.sqlauthority.com/2011/09/06/sql-server-denali-conversion-function-parse-a-quick-introduction/#comment-165818</link>
		<dc:creator><![CDATA[Rob Kellington (@kellington)]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 02:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14240#comment-165818</guid>
		<description><![CDATA[What does Parse() offer beyond what Cast/Convert do?  The examples don&#039;t seem to show any difference.
I had been hoping that eventually MS would offer a function similar to Oracle&#039;s that lets me define the layout as a parameter.  Example: Parse(&#039;May 21 11&#039;,&#039;MMM DD YY&#039;).]]></description>
		<content:encoded><![CDATA[<p>What does Parse() offer beyond what Cast/Convert do?  The examples don&#8217;t seem to show any difference.<br />
I had been hoping that eventually MS would offer a function similar to Oracle&#8217;s that lets me define the layout as a parameter.  Example: Parse(&#8216;May 21 11&#8242;,&#8217;MMM DD YY&#8217;).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
