<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5202909868318044895</id><updated>2012-01-31T21:12:34.334-08:00</updated><category term='c#'/><category term='linux'/><category term='Windows Phone'/><category term='Personales'/><category term='propel'/><category term='xcode'/><category term='excel'/><category term='Git'/><category term='mysql'/><category term='python'/><category term='windows service'/><category term='php'/><category term='mac'/><category term='windows'/><category term='.net'/><category term='libro'/><category term='django'/><category term='mssql'/><category term='vb.net'/><category term='vb'/><title type='text'>N0 mercy C0de</title><subtitle type='html'>bugfix!!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-2573744772147109762</id><published>2012-01-31T21:02:00.000-08:00</published><updated>2012-01-31T21:12:34.342-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Mi Proyecto en Codeplex!</title><content type='html'>Bueno por fin después de tanto tiempo he subido al servidor &lt;b&gt;CODEPLEX &lt;/b&gt;mi primer proyecto de software libre y que me gustaría compartir con todos. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Este proyecto se llama &lt;b&gt;DB2CODE &lt;/b&gt;y es una herramienta que ayudara a generar código fuente basado en la estructura de una base de datos. Esta herramienta esta enfocada para ayudar en reducir tiempos de desarrollo ya que muchas veces el generar clases y lógica para acceso a funciones básicas como insertar, actualizar, eliminar y listar en la base de datos toma demasiado tiempo y es demasiado tedioso por lo que no vi la mejor manera de poder hacer un programa que haga todo este trabajo tedioso de forma automática.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;El link del proyecto es &lt;b&gt;&lt;a href="http://db2code.codeplex.com/"&gt;http://db2code.codeplex.com&lt;/a&gt;.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Espero que les sirva y que este proyecto pueda seguir madurando con apoyo de todos.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-2573744772147109762?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/2573744772147109762/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=2573744772147109762' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2573744772147109762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2573744772147109762'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2012/01/mi-proyecto-en-codeplex.html' title='Mi Proyecto en Codeplex!'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-5969006001173206712</id><published>2012-01-30T15:59:00.000-08:00</published><updated>2012-01-30T16:05:35.516-08:00</updated><title type='text'>EVENTO : ¡12 horas de Visual Studio 2010!</title><content type='html'>&lt;span  &gt;&lt;span style="color: rgb(51, 51, 51); line-height: 20px; background-color: rgb(255, 255, 255); "&gt;Las 12 Horas de &lt;/span&gt; &lt;span id="lblFeaturedProducts" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); text-align: -webkit-auto; "&gt;Microsoft Visual Studio 2010 and Microsoft Visual Studio Team Foundation Server.&lt;/span&gt; &lt;/span&gt;&lt;div&gt;&lt;span  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;img src="https://mseventsww.microsoft.com/BannerImages/cb821031-bc2d-41c6-8712-97c85c5ad3d9.jpg" alt="12 HORAS DE VISUAL STUDIO" /&gt; &lt;/div&gt;&lt;div&gt;&lt;span  &gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span   &gt;&lt;span style="line-height: 20px;"&gt;Útil&lt;/span&gt;&lt;/span&gt;&lt;span  &gt;&lt;span style="background-color: rgb(255, 255, 255); "&gt;&lt;span &gt;&lt;span style="line-height: 20px;"&gt; para sacarle provecho al máximo a la herramientas de desarrollo Visual Studio.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span  &gt;&lt;span style="background-color: rgb(255, 255, 255); "&gt;&lt;span &gt;&lt;span style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 20px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt;Mayor Informacion en &lt;/span&gt; &lt;a href="http://www.globbtv.com/vstudio12horas/"&gt;http://www.globbtv.com/vstudio12horas/&lt;/a&gt; &lt;span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 20px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span  &gt;&lt;span style="background-color: rgb(255, 255, 255); "&gt;&lt;span &gt;&lt;span style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-5969006001173206712?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/5969006001173206712/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=5969006001173206712' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5969006001173206712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5969006001173206712'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2012/01/evento-12-horas-de-visual-studio-2010.html' title='EVENTO : ¡12 horas de Visual Studio 2010!'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-7229770409223015591</id><published>2012-01-15T10:05:00.000-08:00</published><updated>2012-01-15T10:42:20.176-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Generador de Código basado en Base de Datos</title><content type='html'>Bueno aquí le comparte una aplicación llamada  &lt;b&gt;GENERADOR ORM&lt;/b&gt;  que genera código en base a la estructura de la Base de Datos y la divide en un estructura de 3 capas que son las siguientes:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;- &lt;b&gt;BE &lt;/b&gt;: Es la clase con atributos y métodos que se basa de la estructura de la tabla en la BD.&lt;/div&gt;&lt;div&gt;- &lt;b&gt;LN &lt;/b&gt;: Es la clase que posee todos los métodos CRUD básicos como Insertar, Actualizar, Eliminar, etc. Esta clase hace el enlace entre el objeto cargado en memoria BE y la tabla en la Base de Datos.&lt;/div&gt;&lt;div&gt;- &lt;b&gt;SQL &lt;/b&gt;: Esto generara los scripts del tipo Stored Procedure que son las acciones sobre la tabla como Insertar, Eliminar, Actualizar, Listar, etc. Estos sp son necesarios para que las clases LN puedan pasar los datos del objeto BE que esta en memoria a la tabla de la base de datos.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;El programa  tiene como características : &lt;/div&gt;&lt;div&gt;- Genera código para VB.NET y C#.&lt;/div&gt;&lt;div&gt;- Genera código para BE, LN y SQL y permite elegir cual se desea generar.&lt;/div&gt;&lt;div&gt;- Permite elegir las tablas que se generara código.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Descarga : &lt;a href="http://dl.dropbox.com/u/49655105/GeneradorORM.zip"&gt;http://dl.dropbox.com/u/49655105/GeneradorORM.zip&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-7229770409223015591?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/7229770409223015591/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=7229770409223015591' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7229770409223015591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7229770409223015591'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2012/01/generador-de-codigo-basado-en-base-de.html' title='Generador de Código basado en Base de Datos'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-3656291627967127684</id><published>2012-01-04T11:07:00.000-08:00</published><updated>2012-01-04T11:21:30.076-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Equivalencias entre Tipos de Datos SQL SERVER 2008 y C#</title><content type='html'>&lt;table width="100%" border="1" style="border-style: initial; border-color: initial; border-image: initial; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; color: rgb(51, 51, 51); font-size: 13px; line-height: 16px; text-align: left; background-color: rgb(204, 204, 204); "&gt;&lt;tbody style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SQL Server data type&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;CLR data type (SQL Server)&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;CLR data type (.NET Framework)&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;bigint&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlInt64&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Int64, Nullable&lt;int64&gt;&lt;/int64&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;binary&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlBytes, SqlBinary&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Byte[]&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;bit&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlBoolean&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Boolean, Nullable&lt;boolean&gt;&lt;/boolean&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;char&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;cursor&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;date&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlDateTime&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;DateTime, Nullable&lt;datetime&gt;&lt;/datetime&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;datetime&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlDateTime&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;DateTime, Nullable&lt;datetime&gt;&lt;/datetime&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;datetime2&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlDateTime&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;DateTime, Nullable&lt;datetime&gt;&lt;/datetime&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;DATETIMEOFFSET&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;None&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;DateTimeOffset, Nullable&lt;datetimeoffset&gt;&lt;/datetimeoffset&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;decimal&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlDecimal&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Decimal, Nullable&lt;decimal&gt;&lt;/decimal&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;float&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlDouble&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Double, Nullable&lt;double&gt;&lt;/double&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;image&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;int&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlInt32&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Int32, Nullable&lt;int32&gt;&lt;/int32&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;money&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlMoney&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Decimal, Nullable&lt;decimal&gt;&lt;/decimal&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;nchar&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlChars, SqlString&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;String, Char[]&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;ntext&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;numeric&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlDecimal&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Decimal, Nullable&lt;decimal&gt;&lt;/decimal&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;nvarchar&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlChars, SqlString&lt;/b&gt;&lt;/p&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SQLChars&lt;/b&gt; is a better match for data transfer and access, and&lt;b&gt;SQLString&lt;/b&gt; is a better match for performing String operations.&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;String, Char[]&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;nvarchar(1), nchar(1)&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlChars, SqlString&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Char, String, Char[], Nullable&lt;char&gt;&lt;/char&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;real&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlSingle&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Single, Nullable&lt;single&gt;&lt;/single&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;rowversion&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Byte[]&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;smallint&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlInt16&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Int16, Nullable&lt;int16&gt;&lt;/int16&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;smallmoney&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlMoney&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Decimal, Nullable&lt;decimal&gt;&lt;/decimal&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;sql_variant&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Object&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;table&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;text&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;time&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;TimeSpan&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;TimeSpan, Nullable&lt;timespan&gt;&lt;/timespan&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;timestamp&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;tinyint&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlByte&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Byte, Nullable&lt;byte&gt;&lt;/byte&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;uniqueidentifier&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlGuid&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Guid, Nullable&lt;guid&gt;&lt;/guid&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;User-defined type(UDT)&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;The same class that is bound to the user-defined type in the same assembly or a dependent assembly.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;varbinary&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlBytes, SqlBinary&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;Byte[]&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;varbinary(1), binary(1)&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlBytes, SqlBinary&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;byte, Byte[], Nullable&lt;byte&gt;&lt;/byte&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;varchar&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;xml&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;b&gt;SqlXml&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;&lt;p style="border-style: initial; border-color: initial; border-image: initial; font-style: inherit; font-family: inherit; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; list-style-type: none; text-decoration: none; "&gt;None&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-3656291627967127684?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/3656291627967127684/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=3656291627967127684' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/3656291627967127684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/3656291627967127684'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2012/01/equivalencias-entre-tipos-de-datos-sql.html' title='Equivalencias entre Tipos de Datos SQL SERVER 2008 y C#'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-2309740631484282638</id><published>2011-12-04T21:37:00.000-08:00</published><updated>2011-12-04T21:41:50.574-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>¡Conoce las principales novedades de SQL Server 2012!</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span"  &gt;&lt;span class="Apple-style-span" style="line-height: 20px; "&gt;Las 12 Horas de SQL Server 2012 ¡Conoce las principales novedades de SQL Server 2012 en 12 sesiones!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="line-height: 20px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;img src="http://a2.sphotos.ak.fbcdn.net/hphotos-ak-ash4/374771_187750154650417_164489283643171_372062_627044958_n.jpg" /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;Horario                               Titulo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;12:12-12:42                    Bienvenida e Introducción al evento&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;12:42-13:42                    Enriqueciendo nuestros informes en PowerView&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;13:42-14:42                    Abre tu mente a nuevas posibilidades con T-SQL 2012. Cláusula OVER&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;14:42-15:12                    Entrevista con Pedro Urbina, Desarrollador en Microsoft Corp. De AlwaysON&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;15:12-16:12                    Alta Disponibilidad en SQL Server Denali&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;16:12-17:12                    Profundizando en Reporting Services (SSRS) 2012 para SharePoint 2010&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;17:12-18:12                    Cómo migrar nuestra solución multidimensional al nuevo modelo BISM Tabular y no morir en el intento&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;18:12-18:42                    Entrevista con César Galindo, Lead en PDW&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;18:42-19:42                    Interioridades y casos realistas sobre índices columnares&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;19:42-20:42                    Novedades en Manejabilidad en SQL Server 2012&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;20:42-21:12                    Entrevista con Miguel Llopis, PM Data Explorer Team&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;21:12-22:12                    Data Quality Services&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;22:12-23:12                    Escenarios en nube con SQL Server y SQL Azure&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); color: rgb(54, 54, 54); font-family: Verdana, Helvetica, Arial, sans-serif; text-align: -webkit-auto; "&gt;&lt;span style="line-height: 12px; font-size: 8pt; "&gt;&lt;span &gt;23:12-12:12                    Aplicando las novedades de Integration Services 2012 a nuestros escenarios&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 10pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); text-align: -webkit-auto; "&gt;&lt;span class="Apple-style-span"  &gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;Mayor Informacion en &lt;a href="http://technet.microsoft.com/es-es/sql12"&gt;Microsoft TechNet&lt;/a&gt; !!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-2309740631484282638?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/2309740631484282638/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=2309740631484282638' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2309740631484282638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2309740631484282638'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/12/conoce-las-principales-novedades-de-sql.html' title='¡Conoce las principales novedades de SQL Server 2012!'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-406253794956126643</id><published>2011-12-01T13:35:00.001-08:00</published><updated>2011-12-01T14:25:03.953-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Convertir columnas de tabla SQL SERVER en variables de VB.NET</title><content type='html'>Este utilitario en sql sirve de mucho si se tiene una tabla de SQL SERVER con demasiadas columnas y se desea convertir cada columna en una variable de VB.NET. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="color:#000020;background:#f6f8ff;"&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;SELECT&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'DIM '&lt;/span&gt; &lt;span style="color:#308080; "&gt;+&lt;/span&gt; t0&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#308080; "&gt;+&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;' AS '&lt;/span&gt; &lt;span style="color:#308080; "&gt;+&lt;/span&gt; &lt;span style="color:#7779bb; font-weight:bold; "&gt;UPPER&lt;/span&gt;&lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;CASE&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'text'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'varchar'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'char'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'String'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'ntext'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'nvarchar'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'nchar'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'String'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'tinyint'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'smallint'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'int'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'bigint'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'Integer'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'bit'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'Boolean'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'decimal'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'numeric'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'money'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'smallmoney'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'Double'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'float'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'real'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'Double'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'smalldatetime'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'datetime'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'Date'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'binary'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'varbinary'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'image'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'String'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;ELSE&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'String'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;END&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#308080; "&gt;+&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;' = '&lt;/span&gt; &lt;span style="color:#308080; "&gt;+&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;CASE&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'text'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'varchar'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'char'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'""'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'ntext'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'nvarchar'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'nchar'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'""'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'tinyint'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'smallint'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'int'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'bigint'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'0'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'bit'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'False'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'decimal'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'numeric'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'money'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'smallmoney'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'0.0'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'float'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'real'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'0.0'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'smalldatetime'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'datetime'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'Date.Now'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHEN&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#200080; font-weight:bold; "&gt;IN&lt;/span&gt; &lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#1060b6; "&gt;'binary'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'varbinary'&lt;/span&gt;&lt;span style="color:#308080; "&gt;,&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'image'&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;THEN&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'""'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;ELSE&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'""'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;END&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;FROM&lt;/span&gt; &lt;span style="color:#7779bb; font-weight:bold; "&gt;sys&lt;/span&gt;&lt;span style="color:#308080; "&gt;.&lt;/span&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;columns&lt;/span&gt; t0&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;INNER&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;JOIN&lt;/span&gt; &lt;span style="color:#7779bb; font-weight:bold; "&gt;sys&lt;/span&gt;&lt;span style="color:#308080; "&gt;.&lt;/span&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;tables&lt;/span&gt; t1 &lt;span style="color:#200080; font-weight:bold; "&gt;ON&lt;/span&gt; t1&lt;span style="color:#308080; "&gt;.&lt;/span&gt;&lt;span style="color:#7779bb; font-weight:bold; "&gt;object_id&lt;/span&gt; &lt;span style="color:#308080; "&gt;=&lt;/span&gt; t0&lt;span style="color:#308080; "&gt;.&lt;/span&gt;&lt;span style="color:#7779bb; font-weight:bold; "&gt;object_id&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;INNER&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;JOIN&lt;/span&gt; &lt;span style="color:#7779bb; font-weight:bold; "&gt;sys&lt;/span&gt;&lt;span style="color:#308080; "&gt;.&lt;/span&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;types&lt;/span&gt; t2 &lt;span style="color:#200080; font-weight:bold; "&gt;ON&lt;/span&gt; t2&lt;span style="color:#308080; "&gt;.&lt;/span&gt;system_type_id &lt;span style="color:#308080; "&gt;=&lt;/span&gt; t0&lt;span style="color:#308080; "&gt;.&lt;/span&gt;system_type_id&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;WHERE&lt;/span&gt; t1&lt;span style="color:#308080; "&gt;.&lt;/span&gt;name &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;'TABLE'&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;ORDER&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;BY&lt;/span&gt; t0&lt;span style="color:#308080; "&gt;.&lt;/span&gt;column_id&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Esta consulta le mostrara todas las columnas de la tabla convertidas en definiciones de variables para VB.NET.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre style="color:#000020;background:#f6f8ff;"&gt;DIM COLUMNA1 AS INTEGER &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#008c00; "&gt;0&lt;/span&gt;&lt;br /&gt;DIM COLUMNA1 AS STRING &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;""&lt;/span&gt;&lt;br /&gt;DIM COLUMNA3 AS BOOLEAN &lt;span style="color:#308080; "&gt;=&lt;/span&gt; False&lt;br /&gt;DIM COLUMNA4 AS &lt;span style="color:#200080; font-weight:bold; "&gt;DATE&lt;/span&gt; &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Date&lt;/span&gt;.Now&lt;br /&gt;DIM COLUMNA5 AS DOUBLE &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#008c00; "&gt;0&lt;/span&gt;.&lt;span style="color:#008c00; "&gt;0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#008c00; "&gt;5&lt;/span&gt; row&lt;span style="color:#308080; "&gt;(&lt;/span&gt;s&lt;span style="color:#308080; "&gt;)&lt;/span&gt; affected&lt;span style="color:#308080; "&gt;)&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-406253794956126643?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/406253794956126643/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=406253794956126643' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/406253794956126643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/406253794956126643'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/12/convertir-columnas-de-tabla-sql-server.html' title='Convertir columnas de tabla SQL SERVER en variables de VB.NET'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-5295540934846607341</id><published>2011-12-01T06:59:00.000-08:00</published><updated>2011-12-01T07:05:53.516-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='excel'/><title type='text'>Contar y/o Sumar filas con filtro en Excel</title><content type='html'>Esto es un TIP de una función bien útil en excel para contar y sumar  la cantidad de filas después de aplicar un filtro a una columna dentro de excel.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Para esto usaremos una función de excel llamada  SUBTOTALES para sumar y contar.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Si se desea sumar un rango de filas de una determinada Columna simplemente usen la función pasandole 2 parámetros, el primero es la operación la cual para sumar es 2 y posteriormente el rango de filas.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;=SUBTOTALES(2,CI2:CI5283)&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;En caso que se desee contar la cantidad de filas afectadas por el filtro, se tendrá que cambiar el primer parámetro enviado a la función por el 9 y posteriormente colocar el rango de filas que desea considerar.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;=SUBTOTALES(9,CI2:CI5283)&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Espero que re resulte útil ya que a mi me sirvió un montón.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-5295540934846607341?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/5295540934846607341/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=5295540934846607341' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5295540934846607341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5295540934846607341'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/12/contar-yo-sumar-filas-con-filtro-en.html' title='Contar y/o Sumar filas con filtro en Excel'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-2082997691455818075</id><published>2011-11-25T22:11:00.000-08:00</published><updated>2011-11-25T22:21:56.937-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Phone'/><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Introducción y Características del Windows Phone 7.5</title><content type='html'>&lt;div style="text-align: left;"&gt;Comparto con todos un interesante y largo vídeo que explica las nuevas características de la nueva versión de &lt;b&gt;Windows Phone 7.5&lt;/b&gt; o Mango.  Tranquilos que esta en ESPAÑOL.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Como aporte para mi esta nueva apuesta de &lt;b&gt;Microsoft &lt;/b&gt;es interesante pero le falta madurar ya que muchas de las mejoras están en su SDK para acceder a funcionalidades del teléfono que anterior mente en su versión 7 no tenia o no se podía. &lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Por el futuro de este WP7 dependerá de todos nosotros &lt;b&gt;DEVs&lt;/b&gt;!&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;iframe width="420" height="315" src="http://www.youtube.com/embed/-_gxUhjbN_M" frameborder="0" allowfullscreen=""&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-2082997691455818075?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/2082997691455818075/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=2082997691455818075' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2082997691455818075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2082997691455818075'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/11/introduccion-y-caracteristicas-del.html' title='Introducción y Características del Windows Phone 7.5'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/-_gxUhjbN_M/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-2405479348884754340</id><published>2011-11-25T21:47:00.000-08:00</published><updated>2011-11-25T22:09:09.731-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Cambiar Nombre de la Instancia en SQLSERVER</title><content type='html'>Si desea cambiar el nombre de la instancia que por defecto se nombro o que se nombro al momento que se instalo el Sql Server puede hacerlo de la manera mas sencilla mediante algunas sentencias sencillas en SQL.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Primero revisamos cual es el nombre de la instancia actual .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255); border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 583px; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: rgb(34, 34, 34); "&gt;&lt;tbody style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;tr style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;td class="gutter" style="border-right-width: 0px !important; border-bottom-width: 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; color: rgb(175, 175, 175) !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; border-top-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="line number1 index0 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;1&lt;/div&gt;&lt;div class="line number2 index1 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;2&lt;/div&gt;&lt;/td&gt;&lt;td class="code" style="border-right-width: 0px !important; border-bottom-width: 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; color: rgb(119, 119, 119); padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; border-top-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 555px; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="container" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="line number1 index0 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;sp_helpserver&lt;/code&gt;&lt;/div&gt;&lt;div class="line number2 index1 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql keyword" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 9pt !important; min-height: inherit !important; color: rgb(0, 102, 153) !important; "&gt;select&lt;/code&gt; &lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;@@servername&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Con esto obtenemos el nombre actual y el cual necesitamos saber para poderlo remplazar por otro nombre.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255); border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 559px; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: rgb(34, 34, 34); "&gt;&lt;tbody style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;tr style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;td class="gutter" style="border-right-width: 0px !important; border-bottom-width: 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; color: rgb(175, 175, 175) !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; border-top-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="line number1 index0 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;1&lt;/div&gt;&lt;div class="line number2 index1 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;2&lt;/div&gt;&lt;div class="line number3 index2 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;3&lt;/div&gt;&lt;div class="line number4 index3 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;4&lt;/div&gt;&lt;/td&gt;&lt;td class="code" style="border-right-width: 0px !important; border-bottom-width: 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; color: rgb(119, 119, 119); padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; border-top-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 531px; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="container" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="line number1 index0 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;sp_dropserver &lt;/code&gt;&lt;code class="sql string" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: blue !important; "&gt;'old_name'&lt;/code&gt;&lt;/div&gt;&lt;div class="line number2 index1 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;go&lt;/code&gt;&lt;/div&gt;&lt;div class="line number3 index2 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;sp_addserver &lt;/code&gt;&lt;code class="sql string" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: blue !important; "&gt;'new_name'&lt;/code&gt;&lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;,&lt;/code&gt;&lt;code class="sql string" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: blue !important; "&gt;'local'&lt;/code&gt;&lt;/div&gt;&lt;div class="line number4 index3 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;go&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Con esto ya se cambio el nombre de la instancia pero no se aplicara hasta que reiniciemos el servicio del SQL SERVER en el Windows. Para ello, entramos a la consola de comando.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Inicio&amp;gt;Ejecutar&amp;gt;CMD&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Inicio&amp;gt;Accesorios&amp;gt;Simbolo de Sistema&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Dentro de la consola debemos detener el servicio para que posteriormente lo iniciemos nuevamente.&lt;/div&gt;&lt;div&gt;&lt;pre style="text-align: -webkit-auto; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(246, 248, 255); color: rgb(0, 0, 32); "&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;net&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;stop&lt;/span&gt; mssqlserver &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;net&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;start&lt;/span&gt; mssqlserver&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;5. Con esto ya se cambio el nombre de la instancia de tu Sql Server así que verificamos.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255); border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 583px; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: rgb(34, 34, 34); "&gt;&lt;tbody style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;tr style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;td class="gutter" style="border-right-width: 0px !important; border-bottom-width: 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; color: rgb(175, 175, 175) !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; border-top-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="line number1 index0 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;1&lt;/div&gt;&lt;div class="line number2 index1 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; border-right-style: solid !important; border-right-color: rgb(108, 226, 108) !important; "&gt;2&lt;/div&gt;&lt;/td&gt;&lt;td class="code" style="border-right-width: 0px !important; border-bottom-width: 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; color: rgb(119, 119, 119); padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; border-top-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 555px; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="container" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; "&gt;&lt;div class="line number1 index0 alt2" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;sp_helpserver&lt;/code&gt;&lt;/div&gt;&lt;div class="line number2 index1 alt1" style="border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: white !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 1em !important; padding-bottom: 0px !important; padding-left: 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-size: 9pt !important; min-height: inherit !important; white-space: pre !important; "&gt;&lt;code class="sql keyword" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 9pt !important; min-height: inherit !important; color: rgb(0, 102, 153) !important; "&gt;select&lt;/code&gt; &lt;code class="sql plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; font: normal normal normal 1em/1.5 'andale mono', 'monotype.com', 'lucida console', monospace; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-left-radius: 0px 0px !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; overflow-x: visible !important; overflow-y: visible !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 9pt !important; min-height: inherit !important; color: black !important; "&gt;@@servername&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Con estos sencillos pasos se puede cambiar la instancia del Sql Server que para mi es la mas rápida y sencilla.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Link: &lt;a href="http://coderjournal.com/2008/02/how-to-change-instance-name-of-sql-server/"&gt;http://coderjournal.com/2008/02/how-to-change-instance-name-of-sql-server/&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-2405479348884754340?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/2405479348884754340/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=2405479348884754340' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2405479348884754340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2405479348884754340'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/11/cambiar-nombre-de-la-instancia-en.html' title='Cambiar Nombre de la Instancia en SQLSERVER'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-7388756112972933574</id><published>2011-10-05T14:32:00.000-07:00</published><updated>2011-10-24T08:10:02.318-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Git'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Exportar codigo fuente desde Git</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; "&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 18px;"&gt;Si se desea simplemente exportar solamente el código fuente de una aplicación sin la necesidad de copiar los archivos que genera el GIT simplemente lo haría con el siguiente comando.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="line-height: 18px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; "&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; "&gt;git archive master | tar -x -C /Carpeta/CarpetaHija&lt;/code&gt;&lt;/pre&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; "&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 18px;"&gt;Pero si necesita comprimir el código fuente en un solo archivo puede generar un TAR de la siguiente manera.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="line-height: 18px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; "&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; "&gt;git archive master | bzip2 &amp;gt; CodigoFuente.tar.bz2 &lt;/code&gt;&lt;/pre&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; "&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 18px;"&gt;Y si desea hacerlo con un formato de compresión como el ZIP debería hacerlo de la siguiente manera. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="line-height: 18px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; "&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; "&gt;git archive --format zip --output C:/CodigoFuente.zip master  &lt;/code&gt;&lt;/pre&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; "&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 18px;"&gt;Con esto podrá exportar el código fuente de manera limpia sin archivos adicionales que son clásicos del GIT.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; "&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 18px;"&gt;Nota : En windows podría usar &lt;/span&gt;&lt;i style="font-size: 14px; line-height: 18px; "&gt;Putty &lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 18px;"&gt;o el &lt;/span&gt;&lt;i style="font-size: 14px; line-height: 18px; "&gt;Cygwin&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px; background-color: rgb(255, 255, 255); "&gt;Link : &lt;/span&gt;&lt;a href="http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export"&gt;http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export&lt;/a&gt;&lt;span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "&gt;&lt;p style="line-height: 18px; margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; "&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-7388756112972933574?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/7388756112972933574/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=7388756112972933574' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7388756112972933574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7388756112972933574'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/10/exportar-codigo-fuente-desde-git.html' title='Exportar codigo fuente desde Git'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-853014413968003679</id><published>2011-10-03T16:42:00.000-07:00</published><updated>2011-10-03T17:02:05.834-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='libro'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Exam 70-502: Microsoft .NET Framework 3.5 Windows Presentation Foundation</title><content type='html'>&lt;div&gt;Aquí les dejo el libro en ingles y en formato PDF para la certificación con WPF.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 19px; font-weight: bold; background-color: rgb(255, 255, 255); "&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; font-weight: normal; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 19px; font-weight: bold; background-color: rgb(255, 255, 255); "&gt;MCTS Self-Paced Training Kit (Exam 70-502): &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 19px; font-weight: bold; background-color: rgb(255, 255, 255); "&gt;Microsoft® .NET Framework 3.5 Windows® Presentation Foundation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 19px; font-weight: bold; background-color: rgb(255, 255, 255); "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 19px; font-weight: bold; background-color: rgb(255, 255, 255); "&gt;&lt;img src="http://www.hin4ooe.com/bkf/uploaded/20100623/mcts-self-paced-training-kit-exam-70-502-microsoft-net-framework-3-5-windows-presentation-foundation.jpg" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 19px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Link : &lt;a href="http://doc.hackbbs.org/Programmation/DotNet/Microsoft%20Press%20-%20MCTS%20-%2070-502%20-%20DotNet%203.5%20-%20WPF.pdf"&gt;http://doc.hackbbs.org/Programmation/DotNet/Microsoft%20Press%20-%20MCTS%20-%2070-502%20-%20DotNet%203.5%20-%20WPF.pdf&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-853014413968003679?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/853014413968003679/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=853014413968003679' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/853014413968003679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/853014413968003679'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/10/exam-70-502-microsoft-net-framework-35.html' title='Exam 70-502: Microsoft .NET Framework 3.5 Windows Presentation Foundation'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-7586394809019034670</id><published>2011-09-25T13:15:00.000-07:00</published><updated>2011-09-25T13:28:21.576-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xcode'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>Desinstalar xcode en una mac</title><content type='html'>Recientemente estoy incursionando en el mundo de los iphones y para ello necesito instalar el XCODE 4.2 pero he tenido inconvenientes y para ello necesitaba desinstalarlo pero me di con la sorpresa que la mac no cuenta con un sistema de desinstalacion como windows por lo que investigando di con una solución sencilla y rápida.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Con el siguiente comando logras desinstalar correctamente y como manda la ley el xcode sin que te preocupes de haberlo hecho mal. Para ello primero deben acceder al terminal y tener acceso al SUDO (Super usuario).&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;pre style="color: rgb(209, 209, 209); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(0, 0, 0); background-position: initial initial; background-repeat: initial initial; "&gt;sudo &lt;xcode&gt;&lt;span style="color: rgb(210, 205, 134); "&gt;/&lt;/span&gt;Library&lt;span style="color: rgb(210, 205, 134); "&gt;/&lt;/span&gt;uninstall&lt;span style="color: rgb(210, 205, 134); "&gt;-&lt;/span&gt;devtools &lt;span style="color: rgb(210, 205, 134); "&gt;-&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134); "&gt;-&lt;/span&gt;&lt;span style="color: rgb(230, 97, 112); font-weight: bold; "&gt;mode&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134); "&gt;=&lt;/span&gt;all&lt;/xcode&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;El "&lt;xcode&gt;" &lt;xcode&gt; normalmente se remplaza por la ubicacion en donde se instalo que por defecto es "Developer".&lt;/xcode&gt;&lt;/xcode&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;pre style="color: rgb(209, 209, 209); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(0, 0, 0); background-position: initial initial; background-repeat: initial initial; "&gt;sudo Developer&lt;span style="color: rgb(210, 205, 134); "&gt;/&lt;/span&gt;Library&lt;span style="color: rgb(210, 205, 134); "&gt;/&lt;/span&gt;uninstall&lt;span style="color: rgb(210, 205, 134); "&gt;-&lt;/span&gt;devtools &lt;span style="color: rgb(210, 205, 134); "&gt;-&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134); "&gt;-&lt;/span&gt;&lt;span style="color: rgb(230, 97, 112); font-weight: bold; "&gt;mode&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134); "&gt;=&lt;/span&gt;all&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Esta seria la forma correcta de desinstalar el xcode en mac.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Saludos&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Link: &lt;a href="http://macdevelopertips.com/xcode/how-to-uninstall-xcode.html"&gt;http://macdevelopertips.com/xcode/how-to-uninstall-xcode.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-7586394809019034670?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/7586394809019034670/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=7586394809019034670' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7586394809019034670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7586394809019034670'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/09/desinstalar-xcode-en-una-mac.html' title='Desinstalar xcode en una mac'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-5454495926035275973</id><published>2011-09-22T09:26:00.000-07:00</published><updated>2011-09-22T14:28:17.058-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='excel'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Migración Sencilla de Excel a Sql</title><content type='html'>Si uno desea migrar información desde Excel a Sql Server no es necesario usar un DTS o alguna herramienta de migración  de datos, solo es necesario usar las funciones que tiene el excel para poder generar el script sql para insertar la información en la tabla de la base de datos.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Primero se debe colocar en una columna adicional la siguiente formula:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;=CONCATENAR("INSERT INTO tabla01(columna01, &lt;/b&gt;&lt;b&gt;columna02&lt;/b&gt;&lt;b&gt;) VALUES ('",ESPACIOS(A2),"','",ESPACIOS(B2),"')")&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;En donde vamos a concatenar el resultado de cada columna en un script que se insertara en la tabla. Esto dará como resultado:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;INSERT INTO &lt;/b&gt;&lt;b&gt;tabla01&lt;/b&gt;&lt;b&gt;(&lt;/b&gt;&lt;b&gt;columna01&lt;/b&gt;&lt;b&gt;, &lt;/b&gt;&lt;b&gt;columna02&lt;/b&gt;&lt;b&gt;) VALUES   ('C001','Cliente 001')&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Esto se replica por cada fila que desea que se migre al Sql Server y solo queda copiar el resultado de la columna que posee la formula y ejecutarla en Sql Server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Con esto se logra migrar de una manera sencilla la información de un Excel a Sql Server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-5454495926035275973?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/5454495926035275973/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=5454495926035275973' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5454495926035275973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5454495926035275973'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/09/migracion-sencilla-de-excel-sql.html' title='Migración Sencilla de Excel a Sql'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-8906314779821944406</id><published>2011-09-19T11:39:00.001-07:00</published><updated>2011-09-19T11:39:56.229-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Frase del dia</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Sans Unicode', Tahoma, Geneva, sans-serif; line-height: 18px; background-color: rgb(255, 255, 255); "&gt;&lt;b&gt;&lt;span class="Apple-style-span" &gt;“El software es como las catedrales, primero lo construimos, luego rezamos.”&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-8906314779821944406?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/8906314779821944406/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=8906314779821944406' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/8906314779821944406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/8906314779821944406'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/09/frase-del-dia.html' title='Frase del dia'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-4575408990977151589</id><published>2011-02-24T12:15:00.000-08:00</published><updated>2011-02-24T12:53:48.294-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Git'/><title type='text'>Agregar y Eliminar antes del COMMIT en GIT</title><content type='html'>&lt;div&gt;Para agregar todos los archivos contenidos dentro de una carpeta o repositorio de GIT se debe utilizar el comando en bash.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: 'Times New Roman'; font-weight: normal; font-size: medium; "&gt;&lt;pre style="color: rgb(0, 0, 32); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(246, 248, 255); background-position: initial initial; background-repeat: initial initial; "&gt;git add .&lt;/pre&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Si desea eliminar toda los archivos y carpetas agregados al GIT, utilice el comando en bash.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;pre style="color: rgb(0, 0, 32); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(246, 248, 255); background-position: initial initial; background-repeat: initial initial; "&gt;git rm &lt;span style="color: rgb(48, 128, 128); "&gt;-&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128); "&gt;-&lt;/span&gt;cache &lt;span style="color: rgb(48, 128, 128); "&gt;-&lt;/span&gt;r &lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Nota: Esto elimina solo en memoria antes de haber hecho el COMMIT.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-4575408990977151589?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/4575408990977151589/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=4575408990977151589' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4575408990977151589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4575408990977151589'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/02/agregar-y-eliminar-antes-del-commit-en.html' title='Agregar y Eliminar antes del COMMIT en GIT'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-6438933042762970686</id><published>2011-01-26T11:22:00.000-08:00</published><updated>2011-01-26T11:37:05.990-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><title type='text'>Clonar un Objeto</title><content type='html'>&lt;div&gt;Cuando se crea clase simple y se desea hacer una copia de un objeto a otro del mismo tipo, esto no se realiza ya que se copia la referencia del objeto.&lt;/div&gt;&lt;pre style="color:#000020;background:#f6f8ff;"&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Public&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Class&lt;/span&gt; clsObjeto&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Public&lt;/span&gt; codigo &lt;span style="color:#200080; font-weight:bold; "&gt;As&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;String&lt;/span&gt; &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;""&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Public&lt;/span&gt; valor &lt;span style="color:#200080; font-weight:bold; "&gt;As&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;String&lt;/span&gt; &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;""&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;End&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Class&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;Es decir, si se hace una asignación de un objeto a otro este guardara la referencia del objeto que fue asignado y no serán objetos separadas.&lt;/div&gt;&lt;pre style="color:#000020;background:#f6f8ff;"&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Dim&lt;/span&gt; obj01 &lt;span style="color:#200080; font-weight:bold; "&gt;as&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;New&lt;/span&gt; clsObjeto&lt;br /&gt;obj01 &lt;span style="color:#308080; "&gt;.&lt;/span&gt;codigo &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;"01"&lt;/span&gt;&lt;br /&gt;obj01 &lt;span style="color:#308080; "&gt;.&lt;/span&gt;valor &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;"Valor 01"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Dim&lt;/span&gt; obj02 &lt;span style="color:#200080; font-weight:bold; "&gt;as&lt;/span&gt; clsObjeto&lt;span style="color:#308080; "&gt;=&lt;/span&gt; obj01&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;Esto significa que si modifico el objeto obj02 este cambio se reflejara también en el objeto obj01 ya que se referencia y no se copio.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Para poder hacer una CLONACION de objetos se debe implementar en la clase el metodo &lt;b&gt;Clone&lt;/b&gt;.&lt;/div&gt;&lt;pre style="color:#000020;background:#f6f8ff;"&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Public&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Class&lt;/span&gt; clsObjeto&lt;br /&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Implements&lt;/span&gt; ICloneable&lt;br /&gt;&lt;br /&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Public&lt;/span&gt; codigo &lt;span style="color:#200080; font-weight:bold; "&gt;As&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;String&lt;/span&gt; &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;""&lt;/span&gt;&lt;br /&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Public&lt;/span&gt; valor &lt;span style="color:#200080; font-weight:bold; "&gt;As&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;String&lt;/span&gt; &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;""&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Public&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Function&lt;/span&gt; Clone&lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;As&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Object&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Implements&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;System&lt;/span&gt;&lt;span style="color:#008c00; "&gt;.&lt;/span&gt;ICloneable&lt;span style="color:#008c00; "&gt;.&lt;/span&gt;Clone&lt;br /&gt;     &lt;span style="color:#200080; font-weight:bold; "&gt;Return&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;MyBase&lt;/span&gt;&lt;span style="color:#008c00; "&gt;.&lt;/span&gt;MemberwiseClone&lt;span style="color:#308080; "&gt;(&lt;/span&gt;&lt;span style="color:#308080; "&gt;)&lt;/span&gt;&lt;br /&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;End&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Function&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;End&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;Class&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;Con esto, se puede hacer una copia exacta de un objeto a otro sin que se mantenga la referencia y no refleje la modificación de un objeto en otro.&lt;/div&gt;&lt;pre style="color:#000020;background:#f6f8ff;"&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Dim&lt;/span&gt; obj01 &lt;span style="color:#200080; font-weight:bold; "&gt;as&lt;/span&gt; &lt;span style="color:#200080; font-weight:bold; "&gt;New&lt;/span&gt; clsObjeto&lt;br /&gt;obj01 &lt;span style="color:#308080; "&gt;.&lt;/span&gt;codigo &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;"01"&lt;/span&gt;&lt;br /&gt;obj01 &lt;span style="color:#308080; "&gt;.&lt;/span&gt;valor &lt;span style="color:#308080; "&gt;=&lt;/span&gt; &lt;span style="color:#1060b6; "&gt;"Valor 01"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#200080; font-weight:bold; "&gt;Dim&lt;/span&gt; obj02 &lt;span style="color:#200080; font-weight:bold; "&gt;as&lt;/span&gt; clsObjeto&lt;span style="color:#308080; "&gt;=&lt;/span&gt; obj01&lt;span style="color:#008c00; "&gt;..&lt;/span&gt;Clone&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;Como se vera ahora el objeto &lt;b&gt;obj02 &lt;/b&gt;tiene los mismos datos que el objeto &lt;b&gt;0bj01 &lt;/b&gt;pero con la diferencia de que si se modifica alguno este cambio no afectara al otro.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-6438933042762970686?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/6438933042762970686/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=6438933042762970686' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/6438933042762970686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/6438933042762970686'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2011/01/cuando-se-crea-clase-simple-y-se-desea.html' title='Clonar un Objeto'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-7614155321794152171</id><published>2010-03-23T07:19:00.000-07:00</published><updated>2010-03-24T13:59:04.803-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Comparar 2 tablas en Sql Server 2005</title><content type='html'>&lt;div&gt;Para comparar 2 tablas de una base de datos SQL SERVER 2005 tenemos las sintaxis &lt;b&gt;except &lt;/b&gt;e &lt;b&gt;intersect&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Esto retornara todos los registros de table1 que no coincidan con los registros de table2&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;pre style="color: rgb(0, 0, 32); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(246, 248, 255); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;select&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128); "&gt;*&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;from&lt;/span&gt; table1 &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;except&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;select&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128); "&gt;*&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;from&lt;/span&gt; table2&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Esto retornara todos los registros de table2 que no coincidan con los registros de table1&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;pre style="color: rgb(0, 0, 32); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(246, 248, 255); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;select&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128); "&gt;*&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;from&lt;/span&gt; table2 &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;except&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;select&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128); "&gt;*&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;from&lt;/span&gt; table1&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Esto retornara todos los registros de table1 que coincidan con los registros de table2&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;pre style="color: rgb(0, 0, 32); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(246, 248, 255); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;select&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128); "&gt;*&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;from&lt;/span&gt; table1 &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;intersect&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;select&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128); "&gt;*&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold; "&gt;from&lt;/span&gt; table2&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Articulo Original: &lt;a href="http://weblogs.sqlteam.com/jeffs/archive/2007/05/02/60194.aspx"&gt;http://weblogs.sqlteam.com/jeffs/archive/2007/05/02/60194.aspx&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-7614155321794152171?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/7614155321794152171/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=7614155321794152171' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7614155321794152171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7614155321794152171'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2010/03/comparar-2-tablas-en-sql-server-2005.html' title='Comparar 2 tablas en Sql Server 2005'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-1753599981753945720</id><published>2010-02-05T06:55:00.000-08:00</published><updated>2010-02-05T07:04:02.309-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Truncar el correlativo de una tabla</title><content type='html'>Aquí hay una función de SQL Server que permite el truncar el correlativo de una tabla generada automáticamente, para ello se debe colocar el nombre de la tabla (tutabla) y el valor que desea inicializar con el contador (0) ya que cuando ingrese lo hará con 1.&lt;br /&gt;&lt;br /&gt;&lt;pre class="sql"  style=" border: 1px solid #d0d0d0;color:#000066;"&gt;&lt;ol&gt;&lt;li class="li1"&gt;&lt;div class="de1"&gt;DBCC CHECKIDENT &lt;span class="br0"&gt;(&lt;/span&gt;tutabla, reseed, &lt;span class="nu0"&gt;0&lt;/span&gt;&lt;span class="br0"&gt;)&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;Articulo original: &lt;a href="http://blog.sqlauthority.com/2007/03/15/sql-server-dbcc-reseed-table-identity-value-reset-table-identity/"&gt;link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-1753599981753945720?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/1753599981753945720/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=1753599981753945720' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/1753599981753945720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/1753599981753945720'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2010/02/truncar-el-correlativo-de-una-tabla.html' title='Truncar el correlativo de una tabla'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-476213454379933282</id><published>2010-01-19T09:15:00.000-08:00</published><updated>2010-01-19T09:16:58.080-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Hora de leer</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 11px; color: rgb(97, 99, 106); line-height: 15px; "&gt;&lt;p&gt;Aunque no es una costumbre, mi primera promesa es la de leer 2 libros al mes y para ello empezare con 2 títulos llamados “Chicha Power” y “Estados Desunidos de Latinoamérica”, que nunca pensé en leerlos pero me gustaron cuando le eche una ojeada mientras paseaba por la librería Crisol.&lt;/p&gt;&lt;p&gt;Como dije no es mi costumbre, pero creo que creando este habito en mi me será de gran utilidad y productivo.&lt;/p&gt;&lt;p style="text-align: center; "&gt;&lt;img src="http://libreria.universia.edu.pe/imagenes/presentacion_893.jpg" class="aligncenter" title="Chicha Power" alt="" width="115" height="171" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; display: block; " /&gt;&lt;img class="aligncenter" title="Estados Unidos de Latinoamerica" src="http://www.elquebuscaencuentra.com.uy/uruguay/APUserImages/U23636F2LFFTZNJB.JPG" alt="" width="115" height="171" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; display: block; " /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-476213454379933282?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/476213454379933282/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=476213454379933282' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/476213454379933282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/476213454379933282'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2010/01/hora-de-leer.html' title='Hora de leer'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-7582893127349700496</id><published>2009-12-15T07:49:00.000-08:00</published><updated>2009-12-15T08:05:59.407-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Estreno en el Peru de la pelicula Luna Nueva</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://sagadecrepusculo.com/wp-content/uploads/2009/07/luna-nueva-580x804.jpg" style="text-decoration: none;"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 580px; height: 804px;" src="http://sagadecrepusculo.com/wp-content/uploads/2009/07/luna-nueva-580x804.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div&gt;&lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black; mso-fareast-language:ES"&gt;El estreno de la secuela de la saga de crepúsculo fue el momento más esperado de esta año (para mí lo fue), el cual se realizo el 26 de noviembre y que fue mucho antes de los esperado si tomamos en cuenta que la primera película crepúsculo tardo casi 2 meses en llegar a salas limeñas.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black; mso-fareast-language:ES"&gt;Con gran devoción llegue a verla el mismo 26 de noviembre, aunque con sala muy llena y muchos fanáticos esperando el que sucederá con el amor de Bella hacia Edward mientras Jacob ponía todo de su lado para poder conquistarla y estar con ella.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black; mso-fareast-language:ES"&gt;Aunque para ser sincero no fue como espere que fuera según lo que se basaba el libro; no puedo negar que me lleno de satisfacción poder ver como aumento la devoción a esta saga y que la gente pueda ver lo que muchos solo imaginamos cuando recorríamos cada párrafo del libro.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black; mso-fareast-language:ES"&gt;Ahora solo faltaría esperar un año más para Eclipse y poder desenlazar el final abrupto que tiene la película Luna Nueva.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-7582893127349700496?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/7582893127349700496/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=7582893127349700496' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7582893127349700496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/7582893127349700496'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2009/12/estreno-en-el-peru-de-la-pelicula-luna.html' title='Estreno en el Peru de la pelicula Luna Nueva'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-1804131930195585356</id><published>2009-12-05T18:26:00.001-08:00</published><updated>2009-12-05T18:42:15.731-08:00</updated><title type='text'>Problema para instalar SQL SERVER 2008</title><content type='html'>Les cuento una anécdota que tuve al instalar el Sql Server 2008 sobre una pc que tenia Windows 7 y Visual Studio 2008 sp1.&lt;br /&gt;&lt;br /&gt;Primero empecemos con el error tan raro que me salía al momento de instalar el Sql Server 2008, donde me indicaba que tenia un problema con la versión de VS 2008.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.facebook.com/note_redirect.php?note_id=133308412404&amp;amp;h=32639796959b5c8901c1104f5f1ce77c&amp;amp;url=http%3A%2F%2Fteam.desarrollosnea.com.ar%2Fcfs-file.ashx%2F__key%2FCommunityServer.Blogs.Components.WeblogFiles%2Ffcattay%2FErrorSQL1_5F00_3248F6B3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 640px; height: 476px;" src="http://www.facebook.com/note_redirect.php?note_id=133308412404&amp;amp;h=32639796959b5c8901c1104f5f1ce77c&amp;amp;url=http%3A%2F%2Fteam.desarrollosnea.com.ar%2Fcfs-file.ashx%2F__key%2FCommunityServer.Blogs.Components.WeblogFiles%2Ffcattay%2FErrorSQL1_5F00_3248F6B3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Aunque tenia la ultima versión del VS 2008 sp1, la cual era la solicitada por Sql Server 2008 no era posible instalar. Pero encontré una trampa para poder evitar que haga la validación de la versión de VS.&lt;br /&gt;&lt;br /&gt;En la consola de comandos y ubicándonos en la unidad donde se encuentra el instalador de Sql Server escribiremos.&lt;br /&gt;&lt;strong&gt;&lt;span&gt;setup /ACTION=install /SkipRules=VSShellInstalle&lt;/span&gt;&lt;wbr&gt;&lt;span class="word_break"&gt;&lt;/span&gt;dRule RebootRequiredCheck&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.facebook.com/note_redirect.php?note_id=133308412404&amp;amp;h=51a9d61c88745bbba7410686874307e8&amp;amp;url=http%3A%2F%2Fteam.desarrollosnea.com.ar%2Fcfs-file.ashx%2F__key%2FCommunityServer.Blogs.Components.WeblogFiles%2Ffcattay%2FErrorSQL3_5F00_16EB7C72.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 640px; height: 127px;" src="http://www.facebook.com/note_redirect.php?note_id=133308412404&amp;amp;h=51a9d61c88745bbba7410686874307e8&amp;amp;url=http%3A%2F%2Fteam.desarrollosnea.com.ar%2Fcfs-file.ashx%2F__key%2FCommunityServer.Blogs.Components.WeblogFiles%2Ffcattay%2FErrorSQL3_5F00_16EB7C72.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Con esto se evitara la verificación de versión de VS y podrá terminar la instalación de Sql Server 2008 sin ningún inconveniente.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.facebook.com/note_redirect.php?note_id=133308412404&amp;amp;h=96403ddcfa0b4f777616901434913dac&amp;amp;url=http%3A%2F%2Fteam.desarrollosnea.com.ar%2Fcfs-file.ashx%2F__key%2FCommunityServer.Blogs.Components.WeblogFiles%2Ffcattay%2FErrorSQL4_5F00_0DFB288C.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 639px; height: 480px;" src="http://www.facebook.com/note_redirect.php?note_id=133308412404&amp;amp;h=96403ddcfa0b4f777616901434913dac&amp;amp;url=http%3A%2F%2Fteam.desarrollosnea.com.ar%2Fcfs-file.ashx%2F__key%2FCommunityServer.Blogs.Components.WeblogFiles%2Ffcattay%2FErrorSQL4_5F00_0DFB288C.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Es una buena salida para este problema de instalación.&lt;br /&gt;&lt;br /&gt;link &lt;a href="http://www.facebook.com/note.php?note_id=133308412404"&gt;original&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-1804131930195585356?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/1804131930195585356/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=1804131930195585356' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/1804131930195585356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/1804131930195585356'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2009/12/problema-para-instalar-sql-server-2008.html' title='Problema para instalar SQL SERVER 2008'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-5115400348086033157</id><published>2009-11-16T07:28:00.000-08:00</published><updated>2010-01-22T09:19:21.299-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Nombre de Numero en Letras</title><content type='html'>Ahora le dejo una función para poder convertir un monto numérico en un monto en letras, muy útil si se quiere hacer una descripción de un monto para alguna factura o boleta.&lt;br /&gt;&lt;br /&gt;Primero crearemos la función llamada "fn_ConvertirNumeroLetras" que recibe 2 parámetros, uno es el numero que deseamos convertir a letras y el otro el nombre de la moneda que deseamos concatenarlo al monto.&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Create&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;FUNCTION&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;[&lt;/span&gt;dbo&lt;span style="color: rgb(48, 128, 128);"&gt;]&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;[&lt;/span&gt;fn_ConvertirNumeroLetra&lt;span style="color: rgb(48, 128, 128);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@Numero&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;NUMERIC&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;20&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@Moneda&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;100&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;RETURNS&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;512&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AS&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;DECLARE&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcRetorno&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;512&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcMiles&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;512&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;512&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnFraccion&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@resultado&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;as&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;varchar&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;512&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CAST&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@Numero&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AS&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnFraccion&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@Numero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;-&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;100&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcRetorno&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;''&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHILE&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;BEGIN&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* WHILE */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Recorro terna por terna&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;''&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;%&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CAST&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;/&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AS&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;%&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CAST&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;/&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AS&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;%&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CAST&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnEntero&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;/&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AS&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;INT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Analizo las unidades&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CASE&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* UNIDADES */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'UNO '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'UN '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'DOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'TRES '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CUATRO '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CINCO '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;6&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SEIS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;7&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SIETE '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;8&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'OCHO '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;9&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'NUEVE '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;ELSE&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;END&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* UNIDADES */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Analizo las decenas&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CASE&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* DECENAS */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CASE&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'DIEZ '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'ONCE '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'DOCE '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'TRECE '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CATORCE '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'QUINCE '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;ELSE&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'DIECI'&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;END&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'VEINTE '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'VEINTI'&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'TREINTA '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'TREINTA Y '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CUARENTA '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CUARENTA Y '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CINCUENTA '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CINCUENTA Y '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;6&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SESENTA '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;6&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SESENTA Y '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;7&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SETENTA '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;7&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SETENTA Y '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;8&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'OCHENTA '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;8&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'OCHENTA Y '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;9&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'NOVENTA '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;9&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'NOVENTA Y '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;ELSE&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;END&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* DECENAS */&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Analizo las centenas&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CASE&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* CENTENAS */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CIEN '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;NOT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;'CIENTO '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'DOSCIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'TRESCIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CUATROCIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'QUINIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;6&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SEISCIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;7&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'SETECIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;8&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'OCHOCIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;9&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'NOVECIENTOS '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;ELSE&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;END&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* CENTENAS */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Analizo la terna&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CASE&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* TERNA */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;' MIL '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;MILLON '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;NOT&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;' MILLONES '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHEN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnUnidades&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnDecenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnCentenas&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;' MIL MILLONES '&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;ELSE&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;''&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;END&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* TERNA */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Armo el retorno terna a terna&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcRetorno&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcCadena&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcRetorno&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;END&lt;/span&gt; &lt;span style="color: rgb(89, 89, 121);"&gt;/* WHILE */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;IF&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lnTerna&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@lcRetorno&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'CERO'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@resultado&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;RTRIM&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lcRetorno&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;' CON '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;LTRIM&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;STR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@lnFraccion&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'/100 '&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@Moneda&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;RETURN&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@resultado&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;END&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Para ejecutarlo solo nos bastara con llamar a la función y pasarle los 2 parámetros mencionados.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;SELECT [dbo].fn_ConvertirNumeroLetra(&lt;span style="color: rgb(0, 140, 0);"&gt;150&lt;/span&gt;.&lt;span style="color: rgb(0, 140, 0);"&gt;50&lt;/span&gt;, &lt;span style="color: rgb(128, 0, 0);"&gt;'&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;Nuevos Soles&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;'&lt;/span&gt;)&lt;/pre&gt;Esto nos dará como resultado lo siguiente.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;CIENTO CINCUENTA CON &lt;span style="color: rgb(0, 140, 0);"&gt;50&lt;/span&gt;/&lt;span style="color: rgb(0, 140, 0);"&gt;100&lt;/span&gt; Nuevos Soles&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;Referencia: &lt;a href="http://tinyurl.com/yag3ouo"&gt;http://tinyurl.com/yag3ouo&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-5115400348086033157?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/5115400348086033157/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=5115400348086033157' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5115400348086033157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5115400348086033157'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2009/11/ahora-le-dejo-una-funcion-para-poder.html' title='Nombre de Numero en Letras'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-4405198225690668834</id><published>2009-08-14T14:39:00.000-07:00</published><updated>2009-08-14T15:15:09.980-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><title type='text'>Validar RUC (SUNAT - PERU)</title><content type='html'>Para saber de que el RUC es valido se usa un algoritmo tambien llamado &lt;span style="font-weight: bold;"&gt;Modulo 11&lt;/span&gt;, esto nos permite hacer un calculo de los primeros 10 digitos y validarlo con el digito numero 11, de ser correcto se dice que el RUC es valido.&lt;br /&gt;&lt;br /&gt;Aqui le adjunto la funcion que hace la validacion al RUC  &lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Public&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Function&lt;/span&gt; ValidationRUC&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;ByVal&lt;/span&gt; ruc &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;String&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Boolean&lt;/span&gt;&lt;br /&gt;      &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Not&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;IsNumeric&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;              &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Throw&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;New&lt;/span&gt; Exception&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;"El valor no es numerico"&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt; ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Length &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;&gt;&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;11&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;              &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Throw&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;New&lt;/span&gt; Exception&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;"Numero de digitos invalido"&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig01 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig02 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig03 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig04 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig05 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;7&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig06 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;6&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig07 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;6&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;5&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig08 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;7&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;4&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig09 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;8&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;3&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig10 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;9&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;2&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; dig11 &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;CInt&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;ruc&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Substring&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; suma &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; dig01 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig02 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig03 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig04 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig05 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig06 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig07 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig08 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig09 &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; dig10&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; residuo &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; suma &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Mod&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;11&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; resta &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;11&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;-&lt;/span&gt; residuo&lt;br /&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; digChk &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Integer&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt; resta &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;              digChk &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;ElseIf&lt;/span&gt; resta &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;11&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;              digChk &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Else&lt;/span&gt;&lt;br /&gt;              digChk &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; resta&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt; dig11 &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; digChk &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Then&lt;/span&gt;&lt;br /&gt;              &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Return&lt;/span&gt; &lt;span style="color: rgb(15, 77, 117);"&gt;True&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Else&lt;/span&gt;&lt;br /&gt;              &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Return&lt;/span&gt; &lt;span style="color: rgb(15, 77, 117);"&gt;False&lt;/span&gt;&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Catch&lt;/span&gt; ex &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; Exception&lt;br /&gt;          &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Throw&lt;/span&gt; ex&lt;br /&gt;      &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Function&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Ejm:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;RUC = 10254824220&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;FACTOR = 5432765432&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Se separa los 10 primeros digitos de la izquierda y se hace un calculo inividual&lt;br /&gt;1 * 5 =5&lt;br /&gt; 0 * 4 = 0&lt;br /&gt; 2 * 3 = 6&lt;br /&gt; 5 * 2 = 10&lt;br /&gt; 4 * 7 = 28&lt;br /&gt; 8 * 6 = 48&lt;br /&gt; 2 * 5 = 10&lt;br /&gt; 4 * 4 =  16&lt;br /&gt; 2 * 3 = 6&lt;br /&gt; 2 * 2 = 4&lt;br /&gt;&lt;br /&gt;Se suma el resultado de todas las multiplicaciones&lt;br /&gt;&lt;span style="font-style: italic;"&gt;SUMA = 133&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Se calcula el residuo de la division por 11&lt;br /&gt;&lt;span style="font-style: italic;"&gt;133&lt;/span&gt;/ 11 = 1&lt;br /&gt;&lt;span style="font-style: italic;"&gt;RESIDUO = 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Se resta 11 menos el residuo&lt;br /&gt;11 - 1&lt;br /&gt;&lt;span style="font-style: italic;"&gt;RESTA = 10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;digito de chequeo = &lt;span style="font-style: italic;"&gt;RESTA &lt;/span&gt;&lt;br /&gt;si resta = 10 entonces digito de cheque = 0&lt;br /&gt; si resta = 11 entonces digito de cheque = 1&lt;br /&gt;&lt;br /&gt;Por lo tanto e&lt;span style="font-style: italic;"&gt;l &lt;/span&gt;RUC&lt;span style="font-style: italic;"&gt; &lt;/span&gt;10254824220 es valido por que su digito numero 11 es 0 y el digito de chekeo es 0&lt;span style="font-style: italic;"&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-4405198225690668834?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/4405198225690668834/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=4405198225690668834' title='7 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4405198225690668834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4405198225690668834'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2009/08/validar-ruc-sunat-peru.html' title='Validar RUC (SUNAT - PERU)'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-6594828733710638994</id><published>2009-08-14T07:10:00.000-07:00</published><updated>2009-08-14T07:29:17.621-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Obtener multiples resultados en ADO.NET</title><content type='html'>Para poder obtener multiples resultados de consultas SQL en una sola operacion se debe tener en cuenta usar el objeto &lt;span style="font-weight: bold;"&gt;SqlDataReader&lt;/span&gt;. Esta es la forma mas practica de poder ejecutar varias sentencias SQL al mismo tiempo y poder recibirlas con un objeto SqlDataReader.&lt;br /&gt;&lt;br /&gt;Aqui se muestra como ejecutar y recuperar el resultados de 3 consultas SQL.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Private&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Sub&lt;/span&gt; MultipleQuery&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;       &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; sqlCnn &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;New&lt;/span&gt; SqlConnection&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;"Data Source=ServerName;Initial Catalog=DatabaseName;User ID=UserName;Password=Password"&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;       &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; sqlCmd &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; SqlCommand&lt;br /&gt;&lt;br /&gt;       &lt;span style="color: rgb(89, 89, 121);"&gt;'Definimos las 3 sentencias SQL solamente separandolas con ";"&lt;/span&gt;&lt;br /&gt;       &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; sql &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;String&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;"Select top 2 * from product; "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;_&lt;/span&gt;&lt;br /&gt;                           &lt;span style="color: rgb(16, 96, 182);"&gt;"select top 2 * from ordermaster; "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;_&lt;/span&gt;&lt;br /&gt;                           &lt;span style="color: rgb(16, 96, 182);"&gt;"select top 2 * from orderdetails"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;       &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Try&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Abrimos la Conexion &lt;/span&gt;&lt;br /&gt;           sqlCnn&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Open&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Configuramos el Comando con la conexion y la Sentencia SQL&lt;/span&gt;&lt;br /&gt;           sqlCmd &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;New&lt;/span&gt; SqlCommand&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;sql&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; sqlCnn&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Ejecutamos el Comando y el resultado se lo asignamos a un sqlDataReader&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Dim&lt;/span&gt; sqlReader &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; SqlDataReader &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; sqlCmd&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;ExecuteReader&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Recorremos el primer resultado de "Select top 2 * from product"&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;While&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Read&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;               &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;MsgBox&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;"Primer SQL -  "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Item&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;"  -  "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Item&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;While&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Cambiamos al siguiente resultado SQL&lt;/span&gt;&lt;br /&gt;           sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;NextResult&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Recorremos el segundo resultado de "Select top 2 * from ordermaster"&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;While&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Read&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;               &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;MsgBox&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;"Segundo SQL -  "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Item&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;"  -  "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Item&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;While&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Cambiamos al siguiente resultado SQL&lt;/span&gt;&lt;br /&gt;           sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;NextResult&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span style="color: rgb(89, 89, 121);"&gt;'Recorremos el tercer resultado de "Select top 2 * from orderdetails"&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;While&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Read&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;               &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;MsgBox&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;"Tercer SQL -  "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Item&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;"  -  "&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;&amp;amp;&lt;/span&gt; sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Item&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;While&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           sqlReader&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Close&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;           sqlCmd&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;Dispose&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;           sqlCnn&lt;span style="color: rgb(0, 140, 0);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Close&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;       &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Catch&lt;/span&gt; ex &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;As&lt;/span&gt; Exception&lt;br /&gt;           &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;MsgBox&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;"No se puedo ejecutar la operacion"&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;       &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;End&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;Sub&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Aqui el enlace original: &lt;a href="http://vb.net-informations.com/ado.net-dataproviders/ado.net-multiple-result-sets.htm"&gt;Link Referencial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-6594828733710638994?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/6594828733710638994/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=6594828733710638994' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/6594828733710638994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/6594828733710638994'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2009/08/obtener-multiples-resultados-en-adonet.html' title='Obtener multiples resultados en ADO.NET'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-897957541115678309</id><published>2009-06-30T08:35:00.000-07:00</published><updated>2009-06-30T10:27:47.574-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Primera reunion del PLUG</title><content type='html'>El sabado 27 tuvo lugar la primera reunion de PLUG en las instalaciones del Compu Palace en donde se pudo compartir un momento grato entre todos los colaboradores e intercambiando opiniones y experiencias sobre el uso, difucion y ventajas de sistema operativo open source llamado comunmente linux.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_0Ux0nsBF_rQ/SkpJfx2wMJI/AAAAAAAAAGs/3DNUi3Fp9-4/s1600-h/SDC10297.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_0Ux0nsBF_rQ/SkpJfx2wMJI/AAAAAAAAAGs/3DNUi3Fp9-4/s400/SDC10297.JPG" alt="" id="BLOGGER_PHOTO_ID_5353171917391016082" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-897957541115678309?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/897957541115678309/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=897957541115678309' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/897957541115678309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/897957541115678309'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2009/06/primera-reunion-del-plug.html' title='Primera reunion del PLUG'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_0Ux0nsBF_rQ/SkpJfx2wMJI/AAAAAAAAAGs/3DNUi3Fp9-4/s72-c/SDC10297.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-5641139581352078831</id><published>2009-06-30T08:04:00.000-07:00</published><updated>2009-06-30T08:32:17.971-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Mi Certificacion MCTS Windows Form Application 2008</title><content type='html'>Despues de algun tiempo de que obtuve la certificacion MCTS web application 2005. Me quede con las ganas de actulizarme a la nueva version del 2008. Para ello, un amigo me facilito un ticket para rendir el examen gratuitamente y solo lo que debia hacer era estudiar.&lt;br /&gt;&lt;br /&gt;Como ya tenia una experiencia similar con la anterior certificacion, solo debia guiarme del libro que te entregan en los cursos para dar el examen, por lo que me consegui uno en formato PDF (Torrents).&lt;br /&gt;&lt;br /&gt;Una vez obtenido mi ticket de examen y conseguido el manual solo me faltaba coordinar la fecha del examen. Para ello, escogi el dia viernes 26 a las 2 pm como la gran fecha para rendir mi examen de certificacion MCTS windows form application 2008.&lt;br /&gt;&lt;br /&gt;Estube estudiando 15 dias antes de la fecha de mi examen, aunque fue un tiempo suficiente para poder acabar todo el manual aun asi me sentia nervioso el dia que fui a rendir dicho examen.&lt;br /&gt;&lt;br /&gt;El dia llego y rendi mi examen a puertas cerradas solamente con el conocimiento aprendido en los dias previos, afortunadamente mi dedicacion tuvo un resultado positivo y pude obtener una nota aprobatoria por 1000 puntos, motivo por que me siento orgulloso.&lt;br /&gt;&lt;br /&gt;Ahora puedo mostrar el logo obtenido y el que puedo sustentar como un logro.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SkouTKUws3I/AAAAAAAAAGk/J8srJnfYwUg/s1600-h/MCTS%28rgb%29_1103.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 80px;" src="http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SkouTKUws3I/AAAAAAAAAGk/J8srJnfYwUg/s400/MCTS%28rgb%29_1103.jpg" alt="" id="BLOGGER_PHOTO_ID_5353142013807080306" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-5641139581352078831?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/5641139581352078831/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=5641139581352078831' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5641139581352078831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/5641139581352078831'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2009/06/despues-de-algun-tiempo-de-que-obtuve.html' title='Mi Certificacion MCTS Windows Form Application 2008'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SkouTKUws3I/AAAAAAAAAGk/J8srJnfYwUg/s72-c/MCTS%28rgb%29_1103.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-4360681698974602764</id><published>2008-12-26T10:02:00.000-08:00</published><updated>2008-12-26T10:26:53.788-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Estreno en el Peru de la pelicula Crepuesculo</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_0Ux0nsBF_rQ/SVUcgDYa5PI/AAAAAAAAAFE/G2RuGSCMNR8/s1600-h/3075274262_6107b705ec_o.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 270px; height: 400px;" src="http://2.bp.blogspot.com/_0Ux0nsBF_rQ/SVUcgDYa5PI/AAAAAAAAAFE/G2RuGSCMNR8/s400/3075274262_6107b705ec_o.jpg" alt="" id="BLOGGER_PHOTO_ID_5284161074778268914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Por fin despues de tanta espera se entrenara en Peru la pelicula crepusculo que esta basada en el primer libro de la saga "Crepusculo", su estreno sera el 1 de enero del 2009.&lt;br /&gt;&lt;br /&gt;Aunque se puede apreciar la pelicula en copias ilegales de baja calidad desde hace algun tiempo, no he querido adelantarme a verlo hasta que se estrene en una sala de cine. Fuera de que me considero un fanatico a la saga y de haber leido ya 2 de los 4 libros de la saga, espero que la pelicula tenga la escencia del libro y que no sea una burla para los que se quedaron pegados con el libro.&lt;br /&gt;&lt;br /&gt;Lo malo para mi es la fecha en la que escogieron el estreno, ya que pensaba no aparecerme en lima hasta el dia 4 de enero XD.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-4360681698974602764?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/4360681698974602764/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=4360681698974602764' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4360681698974602764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4360681698974602764'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/12/estreno-en-el-peru-de-la-pelicula.html' title='Estreno en el Peru de la pelicula Crepuesculo'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_0Ux0nsBF_rQ/SVUcgDYa5PI/AAAAAAAAAFE/G2RuGSCMNR8/s72-c/3075274262_6107b705ec_o.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-2156875262708351452</id><published>2008-12-26T09:47:00.000-08:00</published><updated>2008-12-26T10:26:15.315-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Instalar Mysql 5 sobre linux Debian 4</title><content type='html'>La instalacion de Mysql sobre linux se puede ser de una manera muy facil usando los paquetes de la distribucion Debian. Se empezara a listar los pasos por orden&lt;br /&gt;&lt;br /&gt;1. Para instalar mysql usaremos el gestor de paquete APT, con la siguiente linea de comando&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;apt-get install mysql&lt;span style="color: rgb(210, 205, 134);"&gt;-&lt;/span&gt;server-5.0&lt;br /&gt;&lt;/pre&gt;2. Ahora instalamos el cliente de mysql para poder acceder a servidor de base de datos&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;apt-get install mysql-client-5.0&lt;br /&gt;&lt;/pre&gt; 3. Una vez instado el Mysql se debe levantar el servidor de base de datos&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;etc&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;init.d/mysql start&lt;br /&gt;&lt;/pre&gt;4. Una  vez inicializado el servicio nos conectamos a la base de datos mysql, colocando el password en lugar de los asteriscos&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;mysql -uroot -p******&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; 5. Por defecto, solo se podra acceder al servidor desde la misma maquina en la que se instalo. Para poder acceder desde cualquier otra maquina tenemos que habilitar la conexion remota.&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;GRANT ALL PRIVILEGES ON &lt;span style="color: rgb(210, 205, 134);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;*&lt;/span&gt; TO &lt;span style="background: rgb(221, 0, 0) none repeat scroll 0% 0%; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;'usuario'&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;@&lt;/span&gt;&lt;span style="color: rgb(0, 196, 196);"&gt;'%'&lt;/span&gt; IDENTIFIED BY &lt;span style="background: rgb(221, 0, 0) none repeat scroll 0% 0%; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;'contrasena'&lt;/span&gt; WITH GRANT OPTION&lt;span style="color: rgb(176, 96, 176);"&gt;;&lt;/span&gt;&lt;br /&gt;FLUSH PRIVILEGES;&lt;/pre&gt;6. Por ultimo para que permita el acceso remotamente de varias computadoras deberemos modificar el archivo my.cnf&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;nano &lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;etc&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;mysql&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;my&lt;span style="color: rgb(0, 168, 0);"&gt;.&lt;/span&gt;cnf&lt;br /&gt;&lt;/pre&gt;7. Dentro del archivo buscamos la palabra "bind-address" y lo comentamos con un michi (#)&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;#&lt;/span&gt;bind&lt;span style="color: rgb(210, 205, 134);"&gt;-&lt;/span&gt;address           &lt;span style="color: rgb(210, 205, 134);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 168, 0);"&gt;127.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;8. Por ultimo, reiniciamos el servidor Mysql&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;etc&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;init.d/mysql restart&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-2156875262708351452?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/2156875262708351452/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=2156875262708351452' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2156875262708351452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2156875262708351452'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/12/instalar-mysql-5-sobre-linux-debian-4.html' title='Instalar Mysql 5 sobre linux Debian 4'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-6081842344882988234</id><published>2008-11-02T18:38:00.000-08:00</published><updated>2008-12-26T10:26:31.711-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Instalar Mysql 5 sobre linux Centos 5</title><content type='html'>La instalacion de Mysql sobre linux se puede ser de una manera muy facil usando los paquetes de la distribucion Centos.  Se empezara a listar los pasos por orden&lt;br /&gt;&lt;br /&gt;1. Para instalar mysql usaremos el gestor de paquete YUM, con la siguiente linea de comando&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;yum install mysql&lt;span style="color: rgb(210, 205, 134);"&gt;-&lt;/span&gt;server&lt;br /&gt;&lt;/pre&gt;2. Ahora instalamos el cliente de mysql para poder acceder a servidor de base de datos&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;yum install mysql&lt;span style="color: rgb(210, 205, 134);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt; 3. Una vez instado el Mysql se debe levantar el servidor de base de datos&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;sbin&lt;span style="color: rgb(210, 205, 134);"&gt;/&lt;/span&gt;service mysqld start&lt;br /&gt;&lt;/pre&gt;4. Una  vez inicializado el servicio nos conectamos a la base de datos mysql, colocando el password en lugar de los asteriscos&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;mysql -uroot -p******&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;&lt;/span&gt;&lt;/pre&gt; 5. Por defecto, solo se podra acceder al servidor desde la misma maquina en la que se instalo. Para poder acceder desde cualquier otra maquina tenemos que habilitar la conexion remota.&lt;br /&gt;&lt;pre style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; color: rgb(209, 209, 209); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;GRANT ALL PRIVILEGES ON &lt;span style="color: rgb(210, 205, 134);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;*&lt;/span&gt; TO &lt;span style="background: rgb(221, 0, 0) none repeat scroll 0% 0%; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;'usuario'&lt;/span&gt;&lt;span style="color: rgb(210, 205, 134);"&gt;@&lt;/span&gt;&lt;span style="color: rgb(0, 196, 196);"&gt;'%'&lt;/span&gt; IDENTIFIED BY &lt;span style="background: rgb(221, 0, 0) none repeat scroll 0% 0%; color: rgb(255, 255, 255); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;'contrasena'&lt;/span&gt; WITH GRANT OPTION&lt;span style="color: rgb(176, 96, 176);"&gt;;&lt;/span&gt;&lt;br /&gt;FLUSH PRIVILEGES&lt;span style="color: rgb(176, 96, 176);"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-6081842344882988234?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/6081842344882988234/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=6081842344882988234' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/6081842344882988234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/6081842344882988234'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/11/instalar-mysql-5-sobre-linux-centos-5.html' title='Instalar Mysql 5 sobre linux Centos 5'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-8982212801929226411</id><published>2008-10-11T21:15:00.000-07:00</published><updated>2008-10-11T21:25:41.327-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Grandes o Tontos errores de la Historia</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_0Ux0nsBF_rQ/SPF8Ci5F8WI/AAAAAAAAAC4/FwJ4PdqNKXo/s1600-h/D_oh.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_0Ux0nsBF_rQ/SPF8Ci5F8WI/AAAAAAAAAC4/FwJ4PdqNKXo/s400/D_oh.jpg" alt="" id="BLOGGER_PHOTO_ID_5256118623285932386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span property="dc:content"&gt;En 1879 fue introducida en Estados Unidos una sustancia para tratar la adicción a la morfina: la cocaína. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;En 1853 John Coffee construyó la cárcel en Dundalk, Irlanda. Quedó en bancarrota en el proyecto y se convirtió en el primer preso de su propia cárcel.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;El "hombre del año" en 1938 según la revista Time era Adolfo Hitler. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;Ronald Reagan, el ex-presidente de los Estados Unidos y exactor de cine, fue rechazado para el rol principal en una película de 1964 llamada "The Best Man" porque "no tenía apariencia de presidente". &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;En 1943, Thomas Watson, director de IBM, hizo una declaración diciendo "yo creo que hay un mercado mundial para quizás cinco computadoras". &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;"No nos gusta como suenan, y la música de la guitarra esta pasando de moda" dijeron los de Decca Recording Company en 1962 al rechazar a los Beatles. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;En un memorandum interno de Western Union en 1876 escribieron lo siguiente después de que Alexander Graham Bell les ofreció venderles los derechos para el teléfono: "Este 'teléfono' tiene muchas cosas en su contra como para ser seriamente considerado un medio de comunicación. El aparato no tiene ningún valor para nosotros". &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;"640 Kb -de memoria- deben ser suficientes para cualquiera"... Bill Gates en 1981. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;El emperador en la silla eléctrica. En Agosto de 1890 un prisionero fue ejecutado en la silla eléctrica. Esta fue la primera ejecución que se hizo por ese método. Cuando el Emperador Menelik II de Abisinia (Etiopía hoy) se enteró, encargó tres sillas eléctricas a los Estados Unidos. El único problema fue que, al llegar el envío, descubrió que necesitaban electricidad para funcionar (Abisinia todavía no contaba con este adelanto). Como el emperador era muy inspirado pronto le encontró la solución. Uso una de ellas como su propio trono imperial. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;Las marmotas son pequeños mamíferos Asiáticos famosos por matar cobras, fueron llevadas por los agricultores de Hawaii para tratar de controlar la población de ratas, pero se les paso un pequeño detalle. Las marmotas son animales diurnos y las ratas son animales nocturnos. Hoy en día, las marmotas son consideradas en Hawaii como una plaga, casi tanto como las ratas. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span property="dc:content"&gt;Peter Archer de 47 años de edad fue arrestado por correr desnudo por una calle en Melbourne, Australia, pero fue dejado libre cuando la policía supo que venía huyendo de una funeraria donde un doctor lo había pronunciado oficialmente muerto. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-8982212801929226411?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/8982212801929226411/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=8982212801929226411' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/8982212801929226411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/8982212801929226411'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/10/grandes-o-tontos-errores-de-la-historia.html' title='Grandes o Tontos errores de la Historia'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_0Ux0nsBF_rQ/SPF8Ci5F8WI/AAAAAAAAAC4/FwJ4PdqNKXo/s72-c/D_oh.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-2231685177880441484</id><published>2008-10-11T20:44:00.001-07:00</published><updated>2008-10-11T21:12:07.233-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Formato de Fecha y Hora con SQL SERVER 2005</title><content type='html'>Para dar formato especifico de fecha y hora en sql server se debe hacer una conversion del tipo datetime a varchar, pero no solamente es cuestion hacer la conversion simple si no adicionalmente pasar el parametro del formato que se desea obtener de dicha convercion. Aqui se muestra el cuadro de conversiones para fechas.&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Sin el siglo (aa) (&lt;span class="sup"&gt;1&lt;/span&gt;)                 &lt;/th&gt;&lt;th&gt;                   Con el siglo ?(aaaa)                 &lt;/th&gt;&lt;th&gt;                   Estándar                 &lt;/th&gt;&lt;th&gt;                   Entrada/salida (&lt;span class="sup"&gt;3&lt;/span&gt;)                 &lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;0&lt;/strong&gt; o &lt;strong&gt;100&lt;/strong&gt; (&lt;span class="sup"&gt;1,&lt;/span&gt; &lt;span class="sup"&gt;2&lt;/span&gt;) &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Valor predeterminado&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;mes dd aaaa hh:mia.m. (o p. m.)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;1&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;101&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;EE.UU.&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;mm/dd/aaaa&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;2&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;102&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;ANSI&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;aa.mm.dd&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;3&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;103&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Británico/Francés&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;dd/mm/aaaa&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;4&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;104&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Alemán&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;dd.mm.aa&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;5&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;105&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Italiano&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;dd-mm-aa&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;6&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;106&lt;/strong&gt; &lt;span class="sup"&gt;(1)&lt;/span&gt;&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;dd mes aa&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;7&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;107&lt;/strong&gt; &lt;span class="sup"&gt;(1)&lt;/span&gt;&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Mes dd, aa&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;8&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;108&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;hh:mi:ss&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;9&lt;/strong&gt; o &lt;strong&gt;109&lt;/strong&gt; (&lt;span class="sup"&gt;1,&lt;/span&gt; &lt;span class="sup"&gt;2&lt;/span&gt;)  &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Valor predeterminado + milisegundos&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;mes dd aaaa hh:mi:ss:mmma.m. (o p. m.)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;10&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;110&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;EE.UU.&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;mm-dd-aa&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;11&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;111&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;JAPÓN&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;aa/mm/dd&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;12&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;112&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;ISO&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;aammdd&lt;/p&gt;                 &lt;p&gt;aaaammdd&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;13&lt;/strong&gt; o &lt;strong&gt;113&lt;/strong&gt; (&lt;span class="sup"&gt;1,&lt;/span&gt; &lt;span class="sup"&gt;2&lt;/span&gt;)  &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Europeo predeterminado + milisegundos&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;dd mes aaaa hh:mi:ss:mmm(24h)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;14&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;114&lt;/strong&gt;                 &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;hh:mi:ss:mmm(24h)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;20&lt;/strong&gt; o &lt;strong&gt;120&lt;/strong&gt; (&lt;span class="sup"&gt;2&lt;/span&gt;)  &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;ODBC canónico&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;aaaa-mm-dd hh:mi:ss(24h)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;21&lt;/strong&gt; o &lt;strong&gt;121&lt;/strong&gt; (&lt;span class="sup"&gt;2&lt;/span&gt;)  &lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;ODBC canónico (con milisegundos)&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;aaaa-mm-dd hh:mi:ss.mmm(24h)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;126 &lt;/strong&gt;(&lt;span class="sup"&gt;4&lt;/span&gt;)&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;ISO8601&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;aaaa-mm-ddThh:mi:ss.mmm (sin espacios)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;127&lt;/strong&gt;(&lt;span class="sup"&gt;6, 7&lt;/span&gt;)&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;ISO8601 con zona horaria Z.&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;aaaa-mm-ddThh:mi:ss.mmmZ &lt;/p&gt;                 &lt;p&gt;(sin espacios)&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;130&lt;/strong&gt; (&lt;span class="sup"&gt;1,&lt;/span&gt; &lt;span class="sup"&gt;2&lt;/span&gt;)&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Hijri (&lt;span class="sup"&gt;5&lt;/span&gt;)&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;dd mes aaaa hh:mi:ss:mmma.m.&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;                 &lt;p&gt;-&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;                   &lt;strong&gt;131&lt;/strong&gt; (&lt;span class="sup"&gt;2&lt;/span&gt;)&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;Hijri (&lt;span class="sup"&gt;5&lt;/span&gt;)&lt;/p&gt;               &lt;/td&gt;&lt;td&gt;                 &lt;p&gt;dd/mm/aa hh:mi:ss:mmma.m.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ejemplo&lt;/span&gt;&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;10&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;GETDATE&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;103&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AS&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'FECHA'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Muestra la fecha con formato dd/mm/aaaa&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;8&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;GETDATE&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;108&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;AS&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;'HORA'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Muestra la fecha con formato hh:mi:ss&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Link Oficial&lt;/span&gt;&lt;br /&gt;&lt;a href="http://technet.microsoft.com/es-es/library/ms187928.aspx"&gt;http://technet.microsoft.com/es-es/library/ms187928.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-2231685177880441484?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/2231685177880441484/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=2231685177880441484' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2231685177880441484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/2231685177880441484'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/10/formato-de-fecha-y-hora-con-sql-server.html' title='Formato de Fecha y Hora con SQL SERVER 2005'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-9155083707188150228</id><published>2008-09-24T16:48:00.001-07:00</published><updated>2008-10-11T21:09:41.849-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mssql'/><title type='text'>Retornar registros separada por comas con MSSQL</title><content type='html'>Otra vez reutilizando cosas que me habian funcionado en otro proyectos, pero con la diferencia de plataforma que ahora me obligan a usar, me nacio una duda que anteriormente resolvi y publique en el blog "&lt;a href="http://r3xet.blogspot.com/2008/06/retornar-registros-separada-por-comas.html"&gt;Retornar registros separada por comas con MYSQL&lt;/a&gt;". Ahora el escenario es diferente ya que estoy usando MSSQL (Microsoft SQL Server 2005) con VB.NET 2005.&lt;br /&gt;&lt;br /&gt;El punto es que buscaba la solucion para listar el resultado de una consulta de una manera mas personalizada y de forma horizontal usando como separadores la coma ",". Como escribi anteriormente en otro articulo en MYSQL es mucho mas facil por que contiene una funcion , pero lamentablemente BILL no nos da una funcion tan util como aquella, por lo que investigando encontre una forma personalizada para emular dicha funcion el MSSQL&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Declaramos la variable que contendra el resultado&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;DECLARE&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@x&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;varchar&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 140, 0);"&gt;8000&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Cargamos los registros consultados en la variable &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@x&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;COALESCE&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;@x&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;', '&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;''&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt;ISNULL&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(119, 121, 187); font-weight: bold;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;varchar&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;nombre&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;''&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;FROM&lt;/span&gt; FILTROS&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;WHERE&lt;/span&gt; ID_FILTROPADRE &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;169&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(89, 89, 121);"&gt;-- Mostramos el valor de la consulta separada por comas&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(0, 125, 69);"&gt;@&lt;/span&gt;&lt;span&gt;&lt;span style="color: rgb(0, 125, 69);"&gt;x&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=""&gt;&lt;span style="font-weight: bold;"&gt;Observacion: &lt;/span&gt;Lo malo de esta consulta es que si devuelve demasiados registros y al momento de concatenarlos en la variable supera la longitud de la cadena provoca un error.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-9155083707188150228?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/9155083707188150228/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=9155083707188150228' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/9155083707188150228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/9155083707188150228'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/09/retornar-registros-separada-por-comas.html' title='Retornar registros separada por comas con MSSQL'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-4351755298705516629</id><published>2008-08-17T22:46:00.000-07:00</published><updated>2008-08-17T22:52:54.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personales'/><title type='text'>Las Reglas de Motivación de Bill Gates</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SKkOFGfZoEI/AAAAAAAAACw/X-wy3h0zmTE/s1600-h/767122BG.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SKkOFGfZoEI/AAAAAAAAACw/X-wy3h0zmTE/s400/767122BG.jpg" alt="" id="BLOGGER_PHOTO_ID_5235731522599362626" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;1' Regla:&lt;/span&gt; La vida no es justa, acostúmbrate a ello.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2' Regla:&lt;/span&gt; Al mundo no le importara tu autoestima. El mundo esperara que logres algo, independiente si te sientes bien o no contigo mismo.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3' Regla:&lt;/span&gt; No ganaras mucho dinero después de haber salido de la preparatoria y no serás un vicepresidente hasta que con tu esfuerzo te hayas ganado ambos logros.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4' Regla:&lt;/span&gt; Si piensas que tu profesor es duro, espera a que tengas un jefe.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5' Regla: &lt;/span&gt;Dedicarse a voltear hamburguesas no te quita dignidad tus abuelos le llamaban de forma diferente “oportunidad".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6' Regla:&lt;/span&gt; Si metes la pata, no es culpa de tus padres, así que no lloriquees por tus errores; aprende de ellos.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7' Regla: &lt;/span&gt;Antes de que nacieras, tus padres no eran tan aburridos como son ahora. Ellos empezaron a serlo por pagar tus cuentas, limpiar tu ropa y escucharte hablar acerca da la nueva onda en la que estabas.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8' Regla: &lt;/span&gt;En la escuela puede haberse eliminado la diferencia entre ganadores y perdedores, pero en la vida real no.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9' Regla: &lt;/span&gt;La vida no se divide en semestres, y muy pocos jefes se interesaran en ayudarte en que te encuentres a ti mismo.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10' Regla: &lt;/span&gt;La televisión no es la vida diaria. En la vida cotidiana, la gente de verdad tiene que salir del café de la película para irse a trabajar.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;11' Regla: &lt;/span&gt;Se amable con los "nerds"(los mas aplicados de tu clase) existen muchas probabilidades de que termines trabajando para uno de ellos.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-4351755298705516629?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/4351755298705516629/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=4351755298705516629' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4351755298705516629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/4351755298705516629'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/08/las-reglas-de-motivacin-de-bill-gates.html' title='Las Reglas de Motivación de Bill Gates'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SKkOFGfZoEI/AAAAAAAAACw/X-wy3h0zmTE/s72-c/767122BG.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-231501719858786799</id><published>2008-06-25T20:47:00.001-07:00</published><updated>2008-10-04T18:54:55.625-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows service'/><title type='text'>Generacion automatica de  backup en MSSQL 2005 Express con un Windows Service (Parte II)</title><content type='html'>La instalacion del servicio tiene como requerimiento que creemos una clase del tipo InstallerClass como el que creamos anteriormente llamado "InstallerService.cs", para la implementacion sigamos los siguientes pasos.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1er paso:&lt;/span&gt; Debemos importar la libreria System.ServiceProcess, esta nos permite definir los parametros de instalacion de nuestro servicio.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;using&lt;/span&gt; System&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ServiceProcess&lt;span style="color: rgb(64, 96, 128);"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;2do paso:&lt;/span&gt; Sobre escribimos el metodo InstallerService y definimos los parametros de instalacion de nuestro service.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;public&lt;/span&gt; InstallerService&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;  ServiceProcessInstaller serviceProcessInstaller &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;new&lt;/span&gt; ServiceProcessInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;  ServiceInstaller serviceInstaller &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;new&lt;/span&gt; ServiceInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(89, 89, 121);"&gt;//# Service Account Information&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  serviceProcessInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Account &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; ServiceAccount&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;LocalSystem&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;  serviceProcessInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Username &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;null&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;  serviceProcessInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Password &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;null&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(89, 89, 121);"&gt;//# Service Information&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  serviceInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;DisplayName &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;Backup Service&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;  serviceInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;StartType &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; ServiceStartMode&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Automatic&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(89, 89, 121);"&gt;//# This must be identical to the WindowsService.ServiceBase name&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(89, 89, 121);"&gt;//# set in the constructor of WindowsService.cs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  serviceInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ServiceName &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;BackupService&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Installers&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Add&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;serviceProcessInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;  &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Installers&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Add&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;serviceInstaller&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Con esto tenemos listo nuestra clase instaladora que nos permitira instalar el service en el sistema.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3er paso:&lt;/span&gt; la instalacion y desintalacion del service se hace a travez de comandos por lo que usamos la consola de comandos (CMD). Para instalar usamos "i" y para desinstalar la "u"&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;InstallUtil &lt;span style="color: rgb(48, 128, 128);"&gt;/&lt;/span&gt;i BackupService&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;exe&lt;br /&gt;InstallUtil &lt;span style="color: rgb(48, 128, 128);"&gt;/&lt;/span&gt;u BackupService&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;exe&lt;br /&gt;&lt;/pre&gt;Lo que hice para facilitar la instalacion y desinstalacion del service fue crear 2 archivo bat donde ingreso dichos comandos.&lt;br /&gt;&lt;br /&gt;Aqui te adjunto el codigo del service para la creacion de backup&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-231501719858786799?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/231501719858786799/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=231501719858786799' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/231501719858786799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/231501719858786799'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/06/generacion-automatica-de-backup-en.html' title='Generacion automatica de  backup en MSSQL 2005 Express con un Windows Service (Parte II)'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-3405348118292812354</id><published>2008-06-25T20:44:00.000-07:00</published><updated>2008-10-04T19:00:15.301-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='windows service'/><title type='text'>Generacion automatica de  backup en MSSQL 2005 Express con un Windows Service (Parte I)</title><content type='html'>La creación de backup de una base de datos es un proceso importante y al mismo tiempo monotomo para los que se encargan de hacerlos, en el caso de MSSQL 2005 este proceso puede ser realizado por tareas programadas, pero en el caso de &lt;a href="http://www.microsoft.com/sql/editions/express/default.mspx"&gt;MSSQL 2005 Express Edition&lt;/a&gt; que no posee  este gestionador de tareas automaticas solo queda hacerlo manualmente cada cierto tiempo :(.&lt;br /&gt;&lt;br /&gt;Para no tener que hacer esta tediosa tarea cada cierto periodo ( cosa que tenia que hacerlo yo :S ) , hice un pequeña aplicacion que en si es un  &lt;a href="http://en.wikipedia.org/wiki/Windows_service"&gt;Windows Service&lt;/a&gt; que genera un backup automaticamente cada dia.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1er paso:  &lt;/span&gt;Crear un nuevo proyectollamado BackupServicio del tipo "Windows Service" con C#, esto creara 2 items por defecto el primero llamado Program.cs y Service1.cs lo renombramos BackupService.cs, ademas agregamos un item del tipo "InstallerClass" llamandolo InstallerService.cs. La clase BackupService.cs es donde ira la logica para generar el backup y en la clase InstallerService.cs ira la logica para la instalacion del servicio en el sistema.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2do paso:&lt;/span&gt; Agregamos 2 nuevas referencias a nuestro proyecto llamados Microsoft.SqlServer.Smo y Microsoft.SqlServer.ConnectionInfo, estos son importantes para poder hacer el backup de la base de datos y poder llamar a estas librerias.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;using&lt;/span&gt; Microsoft&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;SqlServer&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Management&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Common&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;using&lt;/span&gt; Microsoft&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;SqlServer&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Management&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Smo&lt;span style="color: rgb(64, 96, 128);"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;3er paso:&lt;/span&gt; Crearemos el metodo que realizara el trabajo de generar la base de datos, primero indicamos el nombre del archivo de backup para ello se toma como referencia la fecha actual. Segundo, indicamos el dispositivo donde se generara el backup por lo que indicamos "DeviceType.File" para crearlo como archivo, este se crea por defecto en la carpeta de backup del MSSQL.  Por ultimo, indicamos la base de datos que queremos crearle su backup que esta representado por el valor de "this.database" y el nombre del servidor cuyo valor es representado por "this.server".&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;private&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;void&lt;/span&gt; backupDB&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;try&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;   &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;string&lt;/span&gt; fileBackup &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;BACKUP_&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; DateTime&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Now&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ToString&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;yyyyMMdd&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;.bak&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   BackupDeviceItem bdi &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;new&lt;/span&gt; BackupDeviceItem&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;fileBackup&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; DeviceType&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;File&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   Backup bu &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;new&lt;/span&gt; Backup&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   bu&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Database &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;database&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;   bu&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Devices&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Add&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;bdi&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;   bu&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Initialize &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;true&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   Server server &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;new&lt;/span&gt; Server&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;server&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;   bu&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;SqlBackup&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;server&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;catch&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;Exception ex&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;   &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;throw&lt;/span&gt; ex&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;&lt;/span&gt;&lt;/pre&gt;Este metodo solo se llamara cuando la hora señalada sea identica a la hora del sistema, para ello el servicio verifica cada segundo dicha condición.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4to paso: &lt;/span&gt;Creamos un Timer para que cada segundo verifique si la hora para generar el backup.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;using&lt;/span&gt; System&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Timers&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Timer timer &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;new&lt;/span&gt; Timer&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;private&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;void&lt;/span&gt; OnElapsedTime&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;object&lt;/span&gt; source&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; ElapsedEventArgs e&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;try&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;   String tm1 &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; DateTime&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Now&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Hour&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ToString&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;':'&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; DateTime&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Now&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Minute&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ToString&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;':'&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; DateTime&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Now&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Second&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ToString&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;   String tm2 &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;hour &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;':'&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;minute &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(16, 96, 182);"&gt;':'&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;second&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;if&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;tm1&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Equals&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;tm2&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;   &lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;       &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;backupDB&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;       EventLog&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;WriteEntry&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ServiceName&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;Se genero el backup con fecha &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; DateTime&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Now&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ToShortDateString&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; System&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Diagnostics&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;EventLogEntryType&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Information&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;   &lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;catch&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;Exception ex&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;   EventLog&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;WriteEntry&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ServiceName&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;Error: &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; ex&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ToString&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; System&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Diagnostics&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;EventLogEntryType&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Error&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;5to paso:&lt;/span&gt; Inicializamos el Timer con la configuraciones para que valide cada segundo la condicion de la hora. Para ello usamos el metodo "OnStart" que es el metodo que se ejecuta al momento de inicial el servicio. Ademas, vemos que usamos ElapsedEventHandler este metodo no sirve para decirle que en cada intervalo de tiempo ejecute el metodo OnElapsedTime que contiene la condicion para verificar la hora de sistema.&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;protected&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;override&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;void&lt;/span&gt; OnStart&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;string&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;]&lt;/span&gt; args&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;try&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;   &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;loadConfiguration&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   timer&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Elapsed &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;new&lt;/span&gt; ElapsedEventHandler&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;OnElapsedTime&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   timer&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Interval &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(0, 140, 0);"&gt;1000&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   timer&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Enabled &lt;span style="color: rgb(48, 128, 128);"&gt;=&lt;/span&gt; &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;true&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;catch&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;Exception ex&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;{&lt;/span&gt;&lt;br /&gt;   EventLog&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;WriteEntry&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ServiceName&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; &lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(16, 96, 182);"&gt;Error: &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt; &lt;span style="color: rgb(48, 128, 128);"&gt;+&lt;/span&gt; ex&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;ToString&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;,&lt;/span&gt; System&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Diagnostics&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;EventLogEntryType&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Error&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;   &lt;span style="color: rgb(32, 0, 128); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;.&lt;/span&gt;Stop&lt;span style="color: rgb(48, 128, 128);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(48, 128, 128);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(64, 96, 128);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Con esta breve descripcion puedo definir el funcionamiento del programa que aunque ya esta terminado no se puede probar hasta que se intale el servicio en el sistema.&lt;br /&gt;&lt;br /&gt;Para instalacion del servicio sigamos sigamo con la segunda parte &lt;a href="http://r3xet.blogspot.com/2008/06/generacion-automatica-de-backup-en.html"&gt;Aqui&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5202909868318044895-3405348118292812354?l=r3xet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://r3xet.blogspot.com/feeds/3405348118292812354/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5202909868318044895&amp;postID=3405348118292812354' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/3405348118292812354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5202909868318044895/posts/default/3405348118292812354'/><link rel='alternate' type='text/html' href='http://r3xet.blogspot.com/2008/06/generacion-automatica-de-backup-en_25.html' title='Generacion automatica de  backup en MSSQL 2005 Express con un Windows Service (Parte I)'/><author><name>r3xet</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://1.bp.blogspot.com/_0Ux0nsBF_rQ/SXHkcoXP0MI/AAAAAAAAAFc/n72HXkmW9fM/S220/DSC02023.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5202909868318044895.post-5081269884454061118</id><published>2008-06-06T12:56:00.001-07:00</published><updated>2008-06-25T14:00:12.222-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='propel'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Error al devolver, eliminar o actualizar con Propel</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Problema&lt;/span&gt;&lt;br /&gt;La forma normal y la mas usada para devolver, eliminar o actualizar un registro usando PROPEL&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Devolver un registro:&lt;/span&gt;&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 87, 166); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&amp;lt;?php&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;$product&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt; &lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;=&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt; ProductosPeer&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;::&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;retrieveByPK&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;$id&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;)&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(64, 96, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;;&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(32, 0, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-weight: bold;"&gt;print&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt; &lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;$product&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;-&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&gt;&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;getNombre&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;)&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(64, 96, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;;&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 87, 166); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;?&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-style: italic;"&gt;Eliminar un registro:&lt;/span&gt;&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 87, 166); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 87, 166); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;$product&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt; &lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;=&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt; ProductosPeer&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;::&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;retrieveByPK&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;$id&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;)&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(64, 96, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 125, 69); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;$product&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;-&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&gt;&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(64, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;delete&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(48, 128, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;)&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(64, 96, 128); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;;&lt;/span&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 0, 0); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 87, 166); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;?&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-style: italic;"&gt;Actualizar un registro:&lt;/span&gt;&lt;br /&gt;&lt;pre style="background: rgb(246, 248, 255) none repeat scroll 0% 0%; color: rgb(0, 0, 32); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="background: rgb(204, 238, 238) none repeat scroll 0% 0%; color: rgb(0, 87, 166); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&amp;lt;?php&lt;/span&gt;&lt;br
