<?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; Convert Text to Numbers (Integer) &#8211; CAST and CONVERT</title>
	<atom:link href="http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Umamahesh</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-57351</link>
		<dc:creator>Umamahesh</dc:creator>
		<pubDate>Thu, 05 Nov 2009 10:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-57351</guid>
		<description>Hi Sunil,

Please use convert funtion you can able to find the expected date formats

Declare @Str as Datetime

set @Str = &#039;19770319&#039;

select convert(varchar(10),@Str,111) as ExportDate</description>
		<content:encoded><![CDATA[<p>Hi Sunil,</p>
<p>Please use convert funtion you can able to find the expected date formats</p>
<p>Declare @Str as Datetime</p>
<p>set @Str = &#8216;19770319&#8242;</p>
<p>select convert(varchar(10),@Str,111) as ExportDate</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tkatch</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-57271</link>
		<dc:creator>Brian Tkatch</dc:creator>
		<pubDate>Mon, 02 Nov 2009 15:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-57271</guid>
		<description>@Shalini

To search for a list like that, you can use Dynamic SQL.</description>
		<content:encoded><![CDATA[<p>@Shalini</p>
<p>To search for a list like that, you can use Dynamic SQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shalini</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-57195</link>
		<dc:creator>Shalini</dc:creator>
		<pubDate>Sat, 31 Oct 2009 04:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-57195</guid>
		<description>Hi All,

I have a table with column chapterid as int


stored procedure
@chapterid int,
SELECT * FROM Chapters WHERE Chapter IN (@chapterid)

@chapter has multiple values like @chapterid = &#039;5,6,7,8&#039;
this gives me cast error

how do I convert this varchar to an int? A simple convert or cast statement doesn&#039;t work. Any help would be much
appreciated.</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I have a table with column chapterid as int</p>
<p>stored procedure<br />
@chapterid int,<br />
SELECT * FROM Chapters WHERE Chapter IN (@chapterid)</p>
<p>@chapter has multiple values like @chapterid = &#8216;5,6,7,8&#8242;<br />
this gives me cast error</p>
<p>how do I convert this varchar to an int? A simple convert or cast statement doesn&#8217;t work. Any help would be much<br />
appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tkatch</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-56755</link>
		<dc:creator>Brian Tkatch</dc:creator>
		<pubDate>Fri, 16 Oct 2009 13:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-56755</guid>
		<description>@Maniraj

DECIMAL(20, 14) allows for 6 digits to the left of the decimal point. Your number has 11. Hence the overflow.

Perhaps you mean to use DECIMAL(20, 6), which allows 14 to the left and only 6 on the right.</description>
		<content:encoded><![CDATA[<p>@Maniraj</p>
<p>DECIMAL(20, 14) allows for 6 digits to the left of the decimal point. Your number has 11. Hence the overflow.</p>
<p>Perhaps you mean to use DECIMAL(20, 6), which allows 14 to the left and only 6 on the right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maniraj</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-56747</link>
		<dc:creator>Maniraj</dc:creator>
		<pubDate>Fri, 16 Oct 2009 07:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-56747</guid>
		<description>Hi,

I have used to this query,.

declare @v varchar(50)
set @v=&#039;-10851776011.372&#039;
select cast(cast(@v as float) as DECIMAL(20,14)) as Value1      

The error it will come like,
Arithmetic overflow error converting float to data type numeric.

How can i convert this type of values,,

Help me please...</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have used to this query,.</p>
<p>declare @v varchar(50)<br />
set @v=&#8217;-10851776011.372&#8242;<br />
select cast(cast(@v as float) as DECIMAL(20,14)) as Value1      </p>
<p>The error it will come like,<br />
Arithmetic overflow error converting float to data type numeric.</p>
<p>How can i convert this type of values,,</p>
<p>Help me please&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashok</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-55752</link>
		<dc:creator>Ashok</dc:creator>
		<pubDate>Wed, 09 Sep 2009 13:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-55752</guid>
		<description>i have an integer 24036 in mssql 2000, i need to convert it to month and year.(no date).

Please give me the solution</description>
		<content:encoded><![CDATA[<p>i have an integer 24036 in mssql 2000, i need to convert it to month and year.(no date).</p>
<p>Please give me the solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Oliveira</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-54080</link>
		<dc:creator>Ricardo Oliveira</dc:creator>
		<pubDate>Fri, 24 Jul 2009 19:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-54080</guid>
		<description>Hi,

Please imagine this situation.
In a column i have &quot;cx.20&quot; or &quot;cx.5&quot; and in another column i have &quot;10&quot;. My goal is to multiply the first with the second, obviouslly i can only multiply 20 with 10. My doubt is how?I tried so many ways and always this error &quot;error converting data type varchar to numeric&quot;.

Also in the first column i have &quot;Un&quot; without numbers...in that case the multiplying result would be the number in the second column.

Please help me!

Here&#039;s what i tried
([Malaquias$Sales Line].[Quantity]*PARSENAME([Malaquias$Sales Line].[Qty_ per Unit of Measure],1)) as qtdpedida,
	sum([Malaquias$Sales Invoice Line].[Quantity]*PARSENAME([Malaquias$Sales Invoice Line].[Qty_ per Unit of Measure],1))as qtdenviada
------------------------------------------------------------------------------
where Quantity is column 2 and and qty_ per unit of measure is column 1</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Please imagine this situation.<br />
In a column i have &#8220;cx.20&#8243; or &#8220;cx.5&#8243; and in another column i have &#8220;10&#8243;. My goal is to multiply the first with the second, obviouslly i can only multiply 20 with 10. My doubt is how?I tried so many ways and always this error &#8220;error converting data type varchar to numeric&#8221;.</p>
<p>Also in the first column i have &#8220;Un&#8221; without numbers&#8230;in that case the multiplying result would be the number in the second column.</p>
<p>Please help me!</p>
<p>Here&#8217;s what i tried<br />
([Malaquias$Sales Line].[Quantity]*PARSENAME([Malaquias$Sales Line].[Qty_ per Unit of Measure],1)) as qtdpedida,<br />
	sum([Malaquias$Sales Invoice Line].[Quantity]*PARSENAME([Malaquias$Sales Invoice Line].[Qty_ per Unit of Measure],1))as qtdenviada<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
where Quantity is column 2 and and qty_ per unit of measure is column 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Idris Gani</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-53413</link>
		<dc:creator>Idris Gani</dc:creator>
		<pubDate>Thu, 02 Jul 2009 09:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-53413</guid>
		<description>Hi,
I want to perform the following steps
   1. Convert the real number into a character.
   2. Convert the resulting character to a decimal.
   3. Round the value at the N+1 th place.

My requirement is
When n=2
I want to round 18.005 to 18.01 or 18.0049 to 18.00(at 100th place)

when i try with 

Declare @real real
Set @real=18.005
print Round(Convert(Decimal(15,7),Convert(varchar(30),@real)),2)

i can able to get the result until i get some indefinite real value like -4.8892562E-08. so when i try the same logic, i am getting a conversion error(Error converting data type varchar to numeric.). Please help me to get the problem resolved. thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I want to perform the following steps<br />
   1. Convert the real number into a character.<br />
   2. Convert the resulting character to a decimal.<br />
   3. Round the value at the N+1 th place.</p>
<p>My requirement is<br />
When n=2<br />
I want to round 18.005 to 18.01 or 18.0049 to 18.00(at 100th place)</p>
<p>when i try with </p>
<p>Declare @real real<br />
Set @real=18.005<br />
print Round(Convert(Decimal(15,7),Convert(varchar(30),@real)),2)</p>
<p>i can able to get the result until i get some indefinite real value like -4.8892562E-08. so when i try the same logic, i am getting a conversion error(Error converting data type varchar to numeric.). Please help me to get the problem resolved. thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manu</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-53134</link>
		<dc:creator>Manu</dc:creator>
		<pubDate>Sat, 20 Jun 2009 05:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-53134</guid>
		<description>The query to convert varchar to integer helps 
but what we have to do for null values


Thanks and Regards
MaNu GoEl</description>
		<content:encoded><![CDATA[<p>The query to convert varchar to integer helps<br />
but what we have to do for null values</p>
<p>Thanks and Regards<br />
MaNu GoEl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawan</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52644</link>
		<dc:creator>Pawan</dc:creator>
		<pubDate>Tue, 02 Jun 2009 09:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52644</guid>
		<description>Thanks to Anand and Gram It Helped me a lot..thank you very much</description>
		<content:encoded><![CDATA[<p>Thanks to Anand and Gram It Helped me a lot..thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jyothi</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52638</link>
		<dc:creator>jyothi</dc:creator>
		<pubDate>Tue, 02 Jun 2009 06:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52638</guid>
		<description>Hi Sunil
R u trying to export the data from the excel file or flat file?</description>
		<content:encoded><![CDATA[<p>Hi Sunil<br />
R u trying to export the data from the excel file or flat file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil Kumar Pidugu</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52466</link>
		<dc:creator>Sunil Kumar Pidugu</dc:creator>
		<pubDate>Wed, 27 May 2009 07:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52466</guid>
		<description>Hi Friends, i need help. Here i am exporting 4000 records in sql server. this file is fixed file. Here i need convert data into date. 
For eg: i have data 
19770319 19871002

i need to convert in to as date 
1997/03/19     1987/10/02

how i can write a query while data expororting into database. 

thanks</description>
		<content:encoded><![CDATA[<p>Hi Friends, i need help. Here i am exporting 4000 records in sql server. this file is fixed file. Here i need convert data into date.<br />
For eg: i have data<br />
19770319 19871002</p>
<p>i need to convert in to as date<br />
1997/03/19     1987/10/02</p>
<p>how i can write a query while data expororting into database. </p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raviteja</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52422</link>
		<dc:creator>Raviteja</dc:creator>
		<pubDate>Tue, 26 May 2009 10:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-52422</guid>
		<description>Hi All....

I found the following messege from BOOKS-Online which has been published by Microsoft on November-2008. Please have a look at it and reply to my mail if there is any wrong...

Automatic data type conversion is not supported for the text and image data types. You can explicitly convert text data to character data, and image data to binary or varbinary, but the maximum length is 8000 bytes. 
-&gt; If you try an incorrect conversion such as trying to convert a character expression that includes letters to an int, SQL Server returns an error message.

Actually I had a requirement that Conversion of some text to an integer value. I used the functions CAST/CONVERT to do this. But I got the error messege like &quot;Conversion failed when converting the varchar value &#039;N/A&#039; to data type int.&quot;</description>
		<content:encoded><![CDATA[<p>Hi All&#8230;.</p>
<p>I found the following messege from BOOKS-Online which has been published by Microsoft on November-2008. Please have a look at it and reply to my mail if there is any wrong&#8230;</p>
<p>Automatic data type conversion is not supported for the text and image data types. You can explicitly convert text data to character data, and image data to binary or varbinary, but the maximum length is 8000 bytes.<br />
-&gt; If you try an incorrect conversion such as trying to convert a character expression that includes letters to an int, SQL Server returns an error message.</p>
<p>Actually I had a requirement that Conversion of some text to an integer value. I used the functions CAST/CONVERT to do this. But I got the error messege like &#8220;Conversion failed when converting the varchar value &#8216;N/A&#8217; to data type int.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pnormoyle</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-51659</link>
		<dc:creator>pnormoyle</dc:creator>
		<pubDate>Thu, 07 May 2009 15:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-51659</guid>
		<description>Hello,
I am trying to do a DTS to import excel to sql server 2005 table. I have an amount field that is numeric 8,2 in SS2005k. The excel field is DT R8. How can I get the correct conversion? 

It currently translates the field to DT-Numeric but the cents is dropped. It ends up being 25.00 instead of 25.12. 

Thank you,
PN</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I am trying to do a DTS to import excel to sql server 2005 table. I have an amount field that is numeric 8,2 in SS2005k. The excel field is DT R8. How can I get the correct conversion? </p>
<p>It currently translates the field to DT-Numeric but the cents is dropped. It ends up being 25.00 instead of 25.12. </p>
<p>Thank you,<br />
PN</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-50297</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Tue, 31 Mar 2009 16:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-50297</guid>
		<description>I have a table with logon time stored as an integer.
I.E  
160138 = 16:01:38
I also have logoff time stored as an interger same way as the logon time.

I need a SQL to fine the amount of time this person was logged on and I am having the worst time.

Can you help?</description>
		<content:encoded><![CDATA[<p>I have a table with logon time stored as an integer.<br />
I.E<br />
160138 = 16:01:38<br />
I also have logoff time stored as an interger same way as the logon time.</p>
<p>I need a SQL to fine the amount of time this person was logged on and I am having the worst time.</p>
<p>Can you help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soigpm papa</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-50243</link>
		<dc:creator>Soigpm papa</dc:creator>
		<pubDate>Tue, 31 Mar 2009 00:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-50243</guid>
		<description>Sir,

you a saved my skin again. 

Come to myanmar we will treat you best.</description>
		<content:encoded><![CDATA[<p>Sir,</p>
<p>you a saved my skin again. </p>
<p>Come to myanmar we will treat you best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meghna</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-50222</link>
		<dc:creator>Meghna</dc:creator>
		<pubDate>Mon, 30 Mar 2009 16:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-50222</guid>
		<description>You have  saved my life so many times, I can pay anything you want. Anything! Thank again.</description>
		<content:encoded><![CDATA[<p>You have  saved my life so many times, I can pay anything you want. Anything! Thank again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tejasnshah</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-47431</link>
		<dc:creator>tejasnshah</dc:creator>
		<pubDate>Thu, 26 Feb 2009 05:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-47431</guid>
		<description>Hi Milind,

If you have specific &quot;0&quot; to append before Number. You can use Replicate function of SQL.

Example:

DECLARE @t as NUMERIC(8,2)
SELECT @t = 08.23
SELECT CAST(REPLICATE(0,5-LEN(@t)) AS VARCHAR(5)) + CAST(@t AS VARCHAR(5))

Here I specify that there should be 5 length. In this case 8.23 has four digit, so this will add one &quot;0&quot; to this number.

You can find it at: http://tejasnshah.wordpress.com/2009/02/26/sql-server-replicate-function/

This will fix your problem.

Thanks,

Tejas</description>
		<content:encoded><![CDATA[<p>Hi Milind,</p>
<p>If you have specific &#8220;0&#8243; to append before Number. You can use Replicate function of SQL.</p>
<p>Example:</p>
<p>DECLARE @t as NUMERIC(8,2)<br />
SELECT @t = 08.23<br />
SELECT CAST(REPLICATE(0,5-LEN(@t)) AS VARCHAR(5)) + CAST(@t AS VARCHAR(5))</p>
<p>Here I specify that there should be 5 length. In this case 8.23 has four digit, so this will add one &#8220;0&#8243; to this number.</p>
<p>You can find it at: <a href="http://tejasnshah.wordpress.com/2009/02/26/sql-server-replicate-function/" rel="nofollow">http://tejasnshah.wordpress.com/2009/02/26/sql-server-replicate-function/</a></p>
<p>This will fix your problem.</p>
<p>Thanks,</p>
<p>Tejas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tkatch</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-47375</link>
		<dc:creator>Brian Tkatch</dc:creator>
		<pubDate>Wed, 25 Feb 2009 17:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-47375</guid>
		<description>@kumars SELECT DATENAME(mm, CURRENT_TIMESTAMP)
@Milind SELECT &#039;0&#039; + CAST(&#039;8.23&#039; AS VARCHAR)</description>
		<content:encoded><![CDATA[<p>@kumars SELECT DATENAME(mm, CURRENT_TIMESTAMP)<br />
@Milind SELECT &#8216;0&#8242; + CAST(&#8216;8.23&#8242; AS VARCHAR)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milind</title>
		<link>http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-47364</link>
		<dc:creator>Milind</dc:creator>
		<pubDate>Wed, 25 Feb 2009 13:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/07/sql-server-convert-text-to-numbers-integer-cast-and-convert/#comment-47364</guid>
		<description>How to convert 8.23 as 08.23?</description>
		<content:encoded><![CDATA[<p>How to convert 8.23 as 08.23?</p>
]]></content:encoded>
	</item>
</channel>
</rss>