<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>Diario de un informático chapín</title>
	<atom:link href="http://mariocase84.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mariocase84.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 May 2011 22:56:46 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mariocase84.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Diario de un informático chapín</title>
		<link>http://mariocase84.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mariocase84.wordpress.com/osd.xml" title="Diario de un informático chapín" />
	<atom:link rel='hub' href='http://mariocase84.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Función Factorial en SQL Server (recursiva)</title>
		<link>http://mariocase84.wordpress.com/2011/05/02/funcion-factorial-en-sql-server-recursiva/</link>
		<comments>http://mariocase84.wordpress.com/2011/05/02/funcion-factorial-en-sql-server-recursiva/#comments</comments>
		<pubDate>Mon, 02 May 2011 15:12:13 +0000</pubDate>
		<dc:creator>Mario Antonio Castillo</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://mariocase84.wordpress.com/?p=19</guid>
		<description><![CDATA[El día de hoy respondí una pregunta en stackoverflow a cerca de la función factorial en TSQL, en realidad la pregunta era con respecto de un error con la sentencia IF en SQL Server. Les dejo el código producido ya que es pequeño y eficiente, además es una buena muestra de cómo manejar funciones recursivas [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mariocase84.wordpress.com&amp;blog=1195442&amp;post=19&amp;subd=mariocase84&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>El día de hoy respondí una pregunta en stackoverflow a cerca de la función factorial en TSQL, en realidad la pregunta era con respecto de un error con la sentencia IF en SQL Server.</p>
<p>Les dejo el código producido ya que es pequeño y eficiente, además es una buena muestra de cómo manejar funciones recursivas dentro de SQL Server.</p>
<pre><code>create function factfind(@num integer)
 returns Decimal(38,0)
as
begin
 declare @Result Decimal(38,0)
 set @Result = 1
 if (@num&gt;1)
 set @Result = @num * dbo.factfind(@num-1);
 return @Result
end </code></pre>
<p>Parte de las consideraciones que hay que tener para poder realizar la recursión en SQL Server es que las funciones deben cualificarse con el esquema al que pertenecen, de allí la llamada a dbo.factfind</p>
<p>La función retorna un Decimal(38,0) ya que los resultados no pueden ser contenidos en un entero a partir de 13!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mariocase84.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mariocase84.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mariocase84.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mariocase84.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mariocase84.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mariocase84.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mariocase84.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mariocase84.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mariocase84.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mariocase84.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mariocase84.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mariocase84.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mariocase84.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mariocase84.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mariocase84.wordpress.com&amp;blog=1195442&amp;post=19&amp;subd=mariocase84&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mariocase84.wordpress.com/2011/05/02/funcion-factorial-en-sql-server-recursiva/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7c3a9435b8c89bf51d4f46b4f36cb51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mariocase84</media:title>
		</media:content>
	</item>
		<item>
		<title>Agradable sorpresa con Firefox 3.0.6</title>
		<link>http://mariocase84.wordpress.com/2009/02/10/agradable-sorpresa-con-firefox-306/</link>
		<comments>http://mariocase84.wordpress.com/2009/02/10/agradable-sorpresa-con-firefox-306/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 14:01:12 +0000</pubDate>
		<dc:creator>Mario Antonio Castillo</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Navegadores]]></category>

		<guid isPermaLink="false">http://mariocase84.wordpress.com/?p=5</guid>
		<description><![CDATA[Que agradable fué mi sorpresa el día de hoy al abrir el administrador de tareas de windows y ver que Firefox no estaba ocupando los 450 Mb. acostumbrados.  Algunas personas dicen que eso se debe a que mantengo abiertas muchas pestañas (alrededor de 40 la mayor parte del tiempo). Sin embargo luego de instalar la [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mariocase84.wordpress.com&amp;blog=1195442&amp;post=5&amp;subd=mariocase84&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Que agradable fué mi sorpresa el día de hoy al abrir el administrador de tareas de windows y ver que Firefox no estaba ocupando los 450 Mb. acostumbrados.  Algunas personas dicen que eso se debe a que mantengo abiertas muchas pestañas (alrededor de 40 la mayor parte del tiempo).</p>
<p>Sin embargo luego de instalar la actualización de firefox 3.0.6 el navegador ocupó tan solo 185 Mb. de memoria RAM y eso que hoy es un día algo atipico y tengo cargadas alrededor de 55 pestañas en el momento que escribo ésto.</p>
<p>Dejo una imágen de mi administrador de tareas de la pura emoción que siento.</p>
<p style="text-align:center;"><img class="size-full wp-image-6 aligncenter" title="task-manager" src="http://mariocase84.files.wordpress.com/2009/02/task-manager.png?w=630" alt="Administrador de tareas"   /></p>
<p>Saludos</p>
<p>Mario Antonio Castillo</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mariocase84.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mariocase84.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mariocase84.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mariocase84.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mariocase84.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mariocase84.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mariocase84.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mariocase84.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mariocase84.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mariocase84.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mariocase84.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mariocase84.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mariocase84.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mariocase84.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mariocase84.wordpress.com&amp;blog=1195442&amp;post=5&amp;subd=mariocase84&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mariocase84.wordpress.com/2009/02/10/agradable-sorpresa-con-firefox-306/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e7c3a9435b8c89bf51d4f46b4f36cb51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mariocase84</media:title>
		</media:content>

		<media:content url="http://mariocase84.files.wordpress.com/2009/02/task-manager.png" medium="image">
			<media:title type="html">task-manager</media:title>
		</media:content>
	</item>
	</channel>
</rss>
