<?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/"
		>
<channel>
	<title>Comments on: Funci&#243;n Que Convierte N&#250;meros A Letras En SQL</title>
	<atom:link href="http://www.probandocodigo.com/2008/05/funcin-que-convierte-nmeros-a-letras-en-sql.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.probandocodigo.com/2008/05/funcin-que-convierte-nmeros-a-letras-en-sql.html</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 15:14:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Benjamín Zepeda</title>
		<link>http://www.probandocodigo.com/2008/05/funcin-que-convierte-nmeros-a-letras-en-sql.html/comment-page-1#comment-1926</link>
		<dc:creator>Benjamín Zepeda</dc:creator>
		<pubDate>Thu, 16 Sep 2010 00:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.probandocodigo.com/2008/05/funcin-que-convierte-nmeros-a-letras-en-sql.html#comment-1926</guid>
		<description>gracias por la ayuda.</description>
		<content:encoded><![CDATA[<p> <img style="padding: 0px; border: none; cursor: pointer;" onmouseover="this.width=this.width*1.3" onmouseout="this.width=this.width/1.2" id="up-1926" src="http://www.probandocodigo.com/wp-content/plugins/comment-rating/images/1_14_up.png" alt="Thumb up" onclick="javascript:ckratingKarma('1926', 'add', 'www.probandocodigo.com/wp-content/plugins/comment-rating/', '1_14_');" title="" /> <span id="karma-1926-up" style="font-size:12px; color:#009933;">0</span>&nbsp;<img style="padding: 0px; border: none; cursor: pointer;" onmouseover="this.width=this.width*1.3" onmouseout="this.width=this.width/1.2" id="down-1926" src="http://www.probandocodigo.com/wp-content/plugins/comment-rating/images/1_14_down.png" alt="Thumb down" onclick="javascript:ckratingKarma('1926', 'subtract', 'www.probandocodigo.com/wp-content/plugins/comment-rating/', '1_14_')" title="" /> <span id="karma-1926-down" style="font-size:12px; color:#990033;">0</span></p><p>gracias por la ayuda.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mar</title>
		<link>http://www.probandocodigo.com/2008/05/funcin-que-convierte-nmeros-a-letras-en-sql.html/comment-page-1#comment-1924</link>
		<dc:creator>Mar</dc:creator>
		<pubDate>Wed, 15 Sep 2010 16:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.probandocodigo.com/2008/05/funcin-que-convierte-nmeros-a-letras-en-sql.html#comment-1924</guid>
		<description>En general muy buena función, pero tiene un par de errores, al transformar numeros en el rango de los 500

en la función de centenas debería ir 

WHEN @Numero=500 THEN &#039;QUINIENTOS&#039; 
WHEN @Numero&gt;500 and @Numero&lt;600 THEN &#039;QUINIENTOS &#039;+ 
dbo.F_Decenas(RIGHT(CONVERT(varchar, @Numero), 2), 1)

y en unidades falta

WHEN @Numero=7 AND @Estilo=0 THEN &#039;SIETE&#039;
WHEN @Numero=7 AND @Estilo=1 THEN &#039;SETE&#039;</description>
		<content:encoded><![CDATA[<p> <img style="padding: 0px; border: none; cursor: pointer;" onmouseover="this.width=this.width*1.3" onmouseout="this.width=this.width/1.2" id="up-1924" src="http://www.probandocodigo.com/wp-content/plugins/comment-rating/images/1_14_up.png" alt="Thumb up" onclick="javascript:ckratingKarma('1924', 'add', 'www.probandocodigo.com/wp-content/plugins/comment-rating/', '1_14_');" title="" /> <span id="karma-1924-up" style="font-size:12px; color:#009933;">1</span>&nbsp;<img style="padding: 0px; border: none; cursor: pointer;" onmouseover="this.width=this.width*1.3" onmouseout="this.width=this.width/1.2" id="down-1924" src="http://www.probandocodigo.com/wp-content/plugins/comment-rating/images/1_14_down.png" alt="Thumb down" onclick="javascript:ckratingKarma('1924', 'subtract', 'www.probandocodigo.com/wp-content/plugins/comment-rating/', '1_14_')" title="" /> <span id="karma-1924-down" style="font-size:12px; color:#990033;">0</span></p><p>En general muy buena función, pero tiene un par de errores, al transformar numeros en el rango de los 500</p>
<p>en la función de centenas debería ir </p>
<p>WHEN @Numero=500 THEN &#8216;QUINIENTOS&#8217;<br />
WHEN @Numero&gt;500 and @Numero&lt;600 THEN &#039;QUINIENTOS &#039;+<br />
dbo.F_Decenas(RIGHT(CONVERT(varchar, @Numero), 2), 1)</p>
<p>y en unidades falta</p>
<p>WHEN @Numero=7 AND @Estilo=0 THEN &#039;SIETE&#039;<br />
WHEN @Numero=7 AND @Estilo=1 THEN &#039;SETE&#039;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

