﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Development  / Remove Character -- a comma from a number / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 07:44:35 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Remove Character -- a comma from a number</title><link>http://www.sqlservercentral.com/Forums/Topic964987-145-1.aspx</link><description>[code="sql"]SELECT CONVERT(decimal, REPLACE('5,000',',','')) [/code]</description><pubDate>Fri, 06 Aug 2010 04:53:40 GMT</pubDate><dc:creator>Cadavre</dc:creator></item><item><title>Remove Character -- a comma from a number</title><link>http://www.sqlservercentral.com/Forums/Topic964987-145-1.aspx</link><description>Hi,I have the following figure 5,000. When I use Isnumeric () on this it returns 1 which is true however when i use SELECT CONVERT(decimal, '5,000') I get an error saying Error converting data type varchar to numeric.I have come to see that the , between 5 and 000 is the problem. Could you assist on removing this character ?Regards,</description><pubDate>Fri, 06 Aug 2010 04:38:27 GMT</pubDate><dc:creator>martin.edward</dc:creator></item></channel></rss>