<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Dudas de Programación - Preguntas y respuestas recientes en Bases de Datos</title>
<link>https://dudasprogramacion.com/qa/bases-de-datos</link>
<description>Powered by Question2Answer</description>
<item>
<title>Dudas modelado de SQL por favor necesito me den guia. gracias.</title>
<link>https://dudasprogramacion.com/6384/dudas-modelado-de-sql-por-favor-necesito-me-den-guia-gracias</link>
<description>&lt;p&gt;les paso el codigo para utilizar en dbdiagram.io y que vean las relaciones....tengo la impresion de que no estan bien.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;Table&lt;/span&gt; datos_personales {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; legajo_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;pk&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; nombre &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; apellido &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; e_mail &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; prefijo_cel &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; celular &lt;span style=&quot;color:#569cd6&quot;&gt;BIGINT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; dni &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;20&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; dir_calle &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; dir_altura &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; dir_dpto &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;10&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; dir_piso &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; fecha_alta &lt;span style=&quot;color:#569cd6&quot;&gt;DATE&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; fecha_creacion &lt;span style=&quot;color:#569cd6&quot;&gt;TIMESTAMP&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;default&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color:#ce9178&quot;&gt;`CURRENT_TIMESTAMP`&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;Table&lt;/span&gt; jerarquias {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; jerarquia_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;pk&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:#569cd6&quot;&gt;increment&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; jerarquia &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;30&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;Table&lt;/span&gt; grados {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; grado_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;pk&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:#569cd6&quot;&gt;increment&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; jerarquia_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &amp;gt; jerarquias&lt;span style=&quot;color:#dcdcdc&quot;&gt;.&lt;/span&gt;jerarquia_id]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; grado &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;Table&lt;/span&gt; fabricantes_armamento {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; fab_armamento_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;pk&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:#569cd6&quot;&gt;increment&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; fab_nombre &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;Table&lt;/span&gt; calibre {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; calibre_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;pk&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:#569cd6&quot;&gt;increment&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; calibre &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;20&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;Table&lt;/span&gt; armas_punio {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; arma_punio_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;pk&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:#569cd6&quot;&gt;increment&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; fab_armamento_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &amp;gt; fabricantes_armamento&lt;span style=&quot;color:#dcdcdc&quot;&gt;.&lt;/span&gt;fab_armamento_id]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; modelo &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; calibre_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &amp;gt; calibre&lt;span style=&quot;color:#dcdcdc&quot;&gt;.&lt;/span&gt;calibre_id]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;Table&lt;/span&gt; limpieza_armamentos {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; limp_arma_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;pk&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color:#569cd6&quot;&gt;increment&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; fab_armamento_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &amp;gt; fabricantes_armamento&lt;span style=&quot;color:#dcdcdc&quot;&gt;.&lt;/span&gt;fab_armamento_id]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; arma_punio_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &amp;gt; armas_punio&lt;span style=&quot;color:#dcdcdc&quot;&gt;.&lt;/span&gt;arma_punio_id]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; numerarion &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;) [&lt;span style=&quot;color:#569cd6&quot;&gt;unique&lt;/span&gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; serie &lt;span style=&quot;color:#569cd6&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span style=&quot;color:#b5cea8&quot;&gt;50&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; fecha_limp &lt;span style=&quot;color:#569cd6&quot;&gt;DATE&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; observaciones &lt;span style=&quot;color:#569cd6&quot;&gt;TEXT&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; grado_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &amp;gt; grados&lt;span style=&quot;color:#dcdcdc&quot;&gt;.&lt;/span&gt;grado_id]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; legajo_id &lt;span style=&quot;color:#569cd6&quot;&gt;INT&lt;/span&gt; [&lt;span style=&quot;color:#569cd6&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color:#dcdcdc&quot;&gt;:&lt;/span&gt; &amp;gt; datos_personales&lt;span style=&quot;color:#dcdcdc&quot;&gt;.&lt;/span&gt;legajo_id]&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/6384/dudas-modelado-de-sql-por-favor-necesito-me-den-guia-gracias</guid>
<pubDate>Sun, 11 Jun 2023 08:42:20 +0000</pubDate>
</item>
<item>
<title>Modelado de base de datos</title>
<link>https://dudasprogramacion.com/6383/modelado-de-base-de-datos</link>
<description>&lt;p&gt;Estoy aprendiendo modelado de base de datos quiero saber si voy encaminado....tengo la impresion de que no les dejo lo que hice hasta hoy.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;nbsp;**ENTIDADES**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;datos_personales **(ED)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; legajo_id &lt;strong&gt;**(PK)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; jerarquia_id &lt;strong&gt;**(FK)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; nombre&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; apellido&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; e_mail &lt;strong&gt;**UNIQUE**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; prefijo_cel &lt;strong&gt;**(FK)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; celular &lt;strong&gt;**UNIQUE**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; dni &lt;strong&gt;**UNIQUE**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; dir_calle&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; dir_altura&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; dir_dpto&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; dir_piso&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; fecha_alta&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; fecha_creacion&lt;/p&gt;&lt;p&gt;&lt;strong&gt;### jerarquias **(ED)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; jerarquia_id &lt;strong&gt;**(PK)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; jerarquias &lt;strong&gt;**UNIQUE**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; fecha_creacion&lt;/p&gt;&lt;p&gt;&lt;strong&gt;### Grados **(ED)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; grado_id &lt;strong&gt;**(PK)**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; grado &lt;strong&gt;**UNIQUE**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; fecha_creacion&lt;/p&gt;&lt;p&gt;&lt;strong&gt;## Relaciones de las Entidades &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; Un &lt;strong&gt;**&lt;/strong&gt;&lt;em&gt;_personal_&lt;/em&gt;&lt;strong&gt;**&lt;/strong&gt; tiene &lt;strong&gt;**&lt;/strong&gt;&lt;em&gt;_jerarquia_&lt;/em&gt;&lt;strong&gt;**&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#6796e6&quot;&gt;-&lt;/span&gt; la &lt;strong&gt;**&lt;/strong&gt;&lt;em&gt;_jerarquia_&lt;/em&gt;&lt;strong&gt;**&lt;/strong&gt; posee varios&amp;nbsp;&lt;strong&gt;**&lt;/strong&gt;&lt;em&gt;_grados_&lt;/em&gt;&lt;strong&gt;**&lt;/strong&gt;&lt;/p&gt;</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/6383/modelado-de-base-de-datos</guid>
<pubDate>Sun, 28 May 2023 13:37:54 +0000</pubDate>
</item>
<item>
<title>Tengo problemas para instalar mongo 5 en Centos 8</title>
<link>https://dudasprogramacion.com/2774/tengo-problemas-para-instalar-mongo-5-en-centos-8</link>
<description>He estado intentando por varios dias encontrar la forma de que funcione mongodb 5 en un servidor Centos 8, aparentemente la instalacion se realiza en forma correcta, sin embargo el service no ejecuta correctamente por lo que no levata la bd. He probado buscando informacion en google y he probado todas las recomendaciones indicadas pero nada, alguien ha podido hacer funcionar Mongodb. Gracias</description>
<category>MongoDB</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2774/tengo-problemas-para-instalar-mongo-5-en-centos-8</guid>
<pubDate>Sun, 12 Sep 2021 10:34:39 +0000</pubDate>
</item>
<item>
<title>traer informacion con un formulario e imprimirlo en un pdf</title>
<link>https://dudasprogramacion.com/2643/traer-informacion-con-un-formulario-e-imprimirlo-en-un-pdf</link>
<description>ESTOY POR TERMINAR UN PROYECTO Y ESTOY TRANCADO EN ESTA PARTE.&lt;br /&gt;
&lt;br /&gt;
COMO EJEMPLO COLOCO UNA TABLA CON UN NOMBRE EMPLEADOS.&lt;br /&gt;
&lt;br /&gt;
PERO NECESITO IMPRIMIR EN UN PDF VARIOS CAMPOS EN PHP Y MYSQLI&lt;br /&gt;
&lt;br /&gt;
POR EJEMPLO: LA BD DE LLAMA EMPRESA Y LA TABLA EMPLEADOS DE LA CUAL NECESITO IMPRIMIR POR EJEMPLO: ID EMPLEADO, NOMBRES, APELLIDOS, CARGO Y TIEMPO DE SERVICIO CON ESE EEJEMPLO SERIA SUFICIENTE.&lt;br /&gt;
&lt;br /&gt;
AGRADESCO DE SU AYUDA POR FAVOR</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2643/traer-informacion-con-un-formulario-e-imprimirlo-en-un-pdf</guid>
<pubDate>Fri, 25 Sep 2020 17:18:21 +0000</pubDate>
</item>
<item>
<title>Error en SQL</title>
<link>https://dudasprogramacion.com/2517/error-en-sql</link>
<description>&lt;p&gt;Hola, estoy haciendo una base de datos de una biblioteca en mysql y me salta un error cuando intento introducir datos en la tabla &quot;reservas&quot;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;El error es el siguiente:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;java.sql.SQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`test`.`reservas`, CONSTRAINT `reservas_ibfk_1` FOREIGN KEY (`codigolibro`) REFERENCES `libros` (`codigolibro`) ON DELETE CASCADE ON UPDATE CASCADE)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Esta es la base de datos:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://subefotos.com/ver/?094d22621aeb47a24afe4a6bf35d87d0o.png&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://subefotos.com/ver/?094d22621aeb47a24afe4a6bf35d87d0o.png&lt;/a&gt;&lt;/p&gt;</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2517/error-en-sql</guid>
<pubDate>Sun, 19 Jul 2020 21:00:30 +0000</pubDate>
</item>
<item>
<title>Obtener datos que retorne un SP</title>
<link>https://dudasprogramacion.com/2454/obtener-datos-que-retorne-un-sp</link>
<description>Buenas tardes:&lt;br /&gt;
&lt;br /&gt;
Tengo un StoreProcedure en SQLserver que consulta los registros de una tabla x con los campos Nombre, Apellido y ID.&lt;br /&gt;
&lt;br /&gt;
Execute sp_TableUsers&lt;br /&gt;
&lt;br /&gt;
¿Como puedo manipular esos datos en SQLserver?&lt;br /&gt;
¿Se puede crear algun CTE para almacenar la información consultada?&lt;br /&gt;
gracias</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2454/obtener-datos-que-retorne-un-sp</guid>
<pubDate>Fri, 29 May 2020 23:01:28 +0000</pubDate>
</item>
<item>
<title>Diseño conceptual ER</title>
<link>https://dudasprogramacion.com/2356/diseno-conceptual-er</link>
<description>&lt;p&gt;Buenas tardes, como sería el diseño conceptual entre estos 3 aspectos:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:&amp;quot;Open Sans&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;&lt;span style=&quot;background-color:#ffffff&quot;&gt;Las características y las restricciones del procesos son las siguientes:&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Open Sans&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;&lt;span style=&quot;background-color:#ffffff&quot;&gt;• En una asignatura hay como mínimo 10 y como máximo 25 alumnos.&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Open Sans&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;&lt;span style=&quot;background-color:#ffffff&quot;&gt;• Un alumno puede estar matriculado de una o varias asignaturas.&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Open Sans&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;&lt;span style=&quot;background-color:#ffffff&quot;&gt;• Un profesor puede impartir varias asignaturas.&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Open Sans&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;&lt;span style=&quot;background-color:#ffffff&quot;&gt;• Una asignatura es impartida por un único profesor.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:&amp;quot;Open Sans&amp;quot;,Helvetica,Arial,sans-serif&quot;&gt;&lt;span style=&quot;background-color:#ffffff&quot;&gt;Muchas gracias!!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2356/diseno-conceptual-er</guid>
<pubDate>Fri, 27 Mar 2020 18:19:54 +0000</pubDate>
</item>
<item>
<title>Reemplazar datos del ID</title>
<link>https://dudasprogramacion.com/2312/reemplazar-datos-del-id</link>
<description>&lt;p&gt;Hola que tal&lt;/p&gt;&lt;p&gt;Tengo una tabla con la siguiente información&lt;/p&gt;&lt;table style=&quot;width:500px; border-spacing: 1px;&quot; border=&quot;1&quot; cellpadding=&quot;1&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;-webkit-text-stroke-width:0px; background-color:transparent; color:#333333; cursor:text; display:inline !important; float:none; font-family:sans-serif,Arial,Verdana,&amp;quot;Trebuchet MS&amp;quot;,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;,&amp;quot;Segoe UI Symbol&amp;quot;; font-size:16px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; line-height:25.6px; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word&quot;&gt;ID&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;-webkit-text-stroke-width:0px; background-color:transparent; color:#333333; cursor:text; display:inline; float:none; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; line-height:25.6px; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word&quot;&gt;Fecha&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;-webkit-text-stroke-width:0px; background-color:transparent; color:#333333; cursor:text; display:inline; float:none; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; line-height:25.6px; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word&quot;&gt;Lectura&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;2019-09-23 01:44:11&lt;/td&gt;&lt;td&gt;12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;2019-09-23 01:45:15&lt;/td&gt;&lt;td&gt;45&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;2019-09-23 01:47:09&lt;/td&gt;&lt;td&gt;23&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;y quiero que la tabla quede así&amp;nbsp;&lt;/p&gt;&lt;table style=&quot;-webkit-text-stroke-width:0px; background-color:transparent; color:#333333; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; width:500px; word-spacing:0px; border-spacing: 1px;&quot; border=&quot;1&quot; cellpadding=&quot;1&quot;&gt;&lt;tbody style=&quot;background-color: transparent; color: rgb(51, 51, 51); cursor: text; font-family: sans-serif,Arial,Verdana,&amp;amp;quot;trebuchet ms&amp;amp;quot;,&amp;amp;quot;apple color emoji&amp;amp;quot;,&amp;amp;quot;segoe ui emoji&amp;amp;quot;,&amp;amp;quot;segoe ui symbol&amp;amp;quot;; font-size: 16px; line-height: 25.6px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; word-wrap: break-word;&quot;&gt;&lt;tr style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width:0px; background-color:transparent; color:#333333; cursor:text; display:inline; float:none; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; line-height:25.6px; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word&quot;&gt;ID&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width:0px; background-color:transparent; color:#333333; cursor:text; display:inline; float:none; font-size:16px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; line-height:25.6px; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word&quot;&gt;Fecha&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width:0px; background-color:transparent; color:#333333; cursor:text; display:inline; float:none; font-size:16px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; line-height:25.6px; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word&quot;&gt;Lectura&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;1&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;2019-09-23 01:44:11&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;12&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;2019-09-23 01:45:15&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;45&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;2019-09-23 01:47:09&lt;/td&gt;&lt;td style=&quot;background-color:transparent; color:#333333; cursor:text; font-family:sans-serif,Arial,Verdana,&amp;quot;trebuchet ms&amp;quot;,&amp;quot;apple color emoji&amp;quot;,&amp;quot;segoe ui emoji&amp;quot;,&amp;quot;segoe ui symbol&amp;quot;; font-size:16px; line-height:25.6px; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; word-wrap:break-word&quot;&gt;23&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Utilizo esta instrucción y me agrega una columna intRow la cual ya tiene el orden que necesito&lt;/p&gt;&lt;p&gt;select * ,ROW_NUMBER() OVER () AS intRow&lt;br&gt;from Tabla;&amp;nbsp;&lt;/p&gt;&lt;p&gt;La pregunta es ¿Cómo le hago para reemplazar los datos del ID con los datos de intRow?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2312/reemplazar-datos-del-id</guid>
<pubDate>Thu, 13 Feb 2020 15:06:11 +0000</pubDate>
</item>
<item>
<title>Guardar el tiempo inicio y fin automaticamente</title>
<link>https://dudasprogramacion.com/2285/guardar-el-tiempo-inicio-y-fin-automaticamente</link>
<description>Buenas, tengo realizado mi aplicación con asp, c# y sql. Necesito guardar el tiempo de inicio y fin que ha durado mi aplicación trabajando. Como podría realizarlo no lo echo antes. Tengo mi tabla con mis campos de Inicio y Fin que marcan las fechas(datetime) de inicio y fin pero no marca el tiempo de duración de la app. que tendría que guardarlo en otro campo lamado TiempoLotes como puedo realizar esta función?</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2285/guardar-el-tiempo-inicio-y-fin-automaticamente</guid>
<pubDate>Tue, 05 Nov 2019 13:34:26 +0000</pubDate>
</item>
<item>
<title>Mejor practica para crear usuarios</title>
<link>https://dudasprogramacion.com/2225/mejor-practica-para-crear-usuarios</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:inherit&quot;&gt;Hola a todos, Tengo una pregunta respecto a la mejor manera de manejar datos. Es que tengo un sistema con 3 tipos de usuarios, pero los tres son naturalezas diferentes, es decir no tienen los mismos campos y van a desempeñar tareas o procedimientos diferentes en el sistema. Cual seria la mejor forma de estructurar la DB de acuerdo a normalización y rendimiento. &lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family:inherit&quot;&gt;Usa sola tabla de usuarios, y diferenciar por un campo (y en la misma tabla agregar toda la información del usuario o una tabla 1:1) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:inherit&quot;&gt;Crear tres tablas de usuarios (A, B, C) diferentes, con su respectiva información de perfil.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:inherit&quot;&gt;Una tabla de usuario con relación polimorfismo con cada tabla de perfil de los usuarios.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;font-family:inherit&quot;&gt;Otra alternativa.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;También cada usuario tendrá Roles y permisos (atómicos respectivos)&lt;/p&gt;</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2225/mejor-practica-para-crear-usuarios</guid>
<pubDate>Sun, 23 Jun 2019 15:44:47 +0000</pubDate>
</item>
<item>
<title>Ayuda al instalar driver php para mongodb en windows</title>
<link>https://dudasprogramacion.com/2217/ayuda-al-instalar-driver-php-para-mongodb-en-windows</link>
<description>&lt;p&gt;Despues de agregar el dll &lt;strong&gt;php_mongo.dll&lt;/strong&gt;&amp;nbsp; correspondiente a mi version de php, modificar el archivo &lt;strong&gt;php.ini no &lt;/strong&gt;no puedo ver reflejados los cambios desde phpinfo() y no puedo hacer la conexion. A que se debe?&lt;br&gt;Ya he probado varios drivers, ya que uno de los posibles errores que vi fue sobre la version del driver.&lt;/p&gt;</description>
<category>MongoDB</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2217/ayuda-al-instalar-driver-php-para-mongodb-en-windows</guid>
<pubDate>Sun, 16 Jun 2019 05:48:52 +0000</pubDate>
</item>
<item>
<title>CRUD en capas C# con sql server</title>
<link>https://dudasprogramacion.com/2200/crud-en-capas-c-con-sql-server</link>
<description>Hola podrian ayudarme en mi proyecto, no me muestra nada en el dataGridview, no se si sean mis consultas o que es, favor de ayudar a corregirlo. GRACIAS!!!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/open?id=1461tSLcmki02l0a1wtZoGRb2AJYxKUuh&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://drive.google.com/open?id=1461tSLcmki02l0a1wtZoGRb2AJYxKUuh&lt;/a&gt;</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2200/crud-en-capas-c-con-sql-server</guid>
<pubDate>Fri, 24 May 2019 23:05:18 +0000</pubDate>
</item>
<item>
<title>Select sql server tabla con 2 valores en campo</title>
<link>https://dudasprogramacion.com/2192/select-sql-server-tabla-con-2-valores-en-campo</link>
<description>&lt;p&gt;Hola a todos&lt;/p&gt;&lt;p&gt;Tengo que realizar una consulta pero no se por&amp;nbsp;donde empezar ya que me confunde un doble valor&amp;nbsp;que tiene un campo en un registro. Tengo las&amp;nbsp;siguientes 5 tablas:&lt;/p&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse:collapse; width:131pt; border-spacing: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;95&quot; style=&quot;mso-width-source:userset;mso-width-alt:3474;width:71pt&quot;&gt;&lt;col width=&quot;80&quot; style=&quot;width:60pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;height:15.0pt; width:131pt; height: 20px; width: 175px;&quot; class=&quot;xl65&quot;&gt;Registro_Llamadas&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;height:15.0pt; height: 20px;&quot; class=&quot;xl66&quot;&gt;id_registro&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt&quot; class=&quot;xl66&quot;&gt;nombre&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;2537687&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Juan Perez&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;2534454&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Maria Flores&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse:collapse; width:351pt; border-spacing: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;95&quot; span=&quot;3&quot; style=&quot;mso-width-source:userset;mso-width-alt:3474;  width:71pt&quot;&gt;&lt;col width=&quot;104&quot; style=&quot;mso-width-source:userset;mso-width-alt:3803;width:78pt&quot;&gt;&lt;col width=&quot;80&quot; style=&quot;width:60pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan=&quot;5&quot; style=&quot;height:15.0pt; width:351pt; height: 20px; width: 469px;&quot; class=&quot;xl66&quot;&gt;Historico_acciones&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;id_historico&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl65&quot;&gt;fecha&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl65&quot;&gt;id_registro&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;id_accion&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;cod_accion&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl68&quot;&gt;1&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl69&quot;&gt;10/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2537687&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;33&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;356&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl68&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl69&quot;&gt;10/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2537687&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;20&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl68&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl69&quot;&gt;11/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2534454&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;33&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;567&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl68&quot;&gt;4&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl69&quot;&gt;11/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2534454&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;20&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;4&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse:collapse; width:126pt; border-spacing: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;80&quot; style=&quot;width:60pt&quot;&gt;&lt;col width=&quot;88&quot; style=&quot;mso-width-source:userset;mso-width-alt:3218;width:66pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;height:15.0pt; width:126pt; height: 20px; width: 168px;&quot; class=&quot;xl65&quot;&gt;Lista_bases&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;id_base&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;descrip_base&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl68&quot;&gt;56&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl66&quot;&gt;Base1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl68&quot;&gt;98&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl66&quot;&gt;Base2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse:collapse; width:126pt; border-spacing: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;80&quot; style=&quot;width:60pt&quot;&gt;&lt;col width=&quot;88&quot; style=&quot;mso-width-source:userset;mso-width-alt:3218;width:66pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;height:15.0pt; width:126pt; height: 20px; width: 168px;&quot; class=&quot;xl65&quot;&gt;Estatus_llamada&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;height:15.0pt; height: 20px;&quot; class=&quot;xl66&quot;&gt;id_est&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt&quot; class=&quot;xl66&quot;&gt;estatus&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;1&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Contactado&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Buzon&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;No contesta&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl67&quot;&gt;4&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Agendado&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;de las cuales tengo que generar el siguiente&amp;nbsp;resultado por rango de fecha&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse:collapse; width:308pt; border-spacing: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;80&quot; span=&quot;2&quot; style=&quot;width:60pt&quot;&gt;&lt;col width=&quot;91&quot; style=&quot;mso-width-source:userset;mso-width-alt:3328;width:68pt&quot;&gt;&lt;col width=&quot;80&quot; span=&quot;2&quot; style=&quot;width:60pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;height:15.0pt; width:60pt; height: 20px; width: 80px;&quot; class=&quot;xl65&quot;&gt;Fecha&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl65&quot;&gt;id_registro&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:68pt; width: 91px;&quot; class=&quot;xl65&quot;&gt;nombre&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl66&quot;&gt;base&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl66&quot;&gt;estatus&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl69&quot;&gt;10/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2537687&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Juan Perez&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Base1&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;No contesta&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl69&quot;&gt;11/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2534454&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Maria Flores&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Base2&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Agendado&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse:collapse; width:308pt; border-spacing: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;80&quot; span=&quot;2&quot; style=&quot;width:60pt&quot;&gt;&lt;col width=&quot;91&quot; style=&quot;mso-width-source:userset;mso-width-alt:3328;width:68pt&quot;&gt;&lt;col width=&quot;80&quot; span=&quot;2&quot; style=&quot;width:60pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;height:15.0pt; width:60pt; height: 20px; width: 80px;&quot; class=&quot;xl65&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl65&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:68pt; width: 91px;&quot; class=&quot;xl65&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl66&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl66&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl69&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;el problema es con el campo id_action de la tabla&amp;nbsp;historico_accion ya que al momento de hacer la&amp;nbsp;consulta no se como indicarle que me traiga los&amp;nbsp;valores de las 2 opciones (33 y 20) en un solo&amp;nbsp;registro (una sola fila) y es que dependiendo del&amp;nbsp;numero seleccionado en id_action el numero de&amp;nbsp;campo cod_accion trae el valor de la base (si el&amp;nbsp;id_accion es 33) o trae el valor del estatus (si&amp;nbsp;el id_accion es 20). al momento de intentar crear&amp;nbsp;el select me crea duplicado de la siguiente manera:&lt;/p&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;border-collapse:collapse; width:308pt; border-spacing: 0px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;80&quot; span=&quot;2&quot; style=&quot;width:60pt&quot;&gt;&lt;col width=&quot;91&quot; style=&quot;mso-width-source:userset;mso-width-alt:3328;width:68pt&quot;&gt;&lt;col width=&quot;80&quot; span=&quot;2&quot; style=&quot;width:60pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;height:15.0pt; width:60pt; height: 20px; width: 80px;&quot; class=&quot;xl65&quot;&gt;Fecha&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl65&quot;&gt;id_registro&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:68pt; width: 91px;&quot; class=&quot;xl65&quot;&gt;nombre&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl66&quot;&gt;base&lt;/td&gt;&lt;td style=&quot;border-left:none; height:15.0pt; width:60pt; width: 80px;&quot; class=&quot;xl66&quot;&gt;estatus&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl69&quot;&gt;10/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2537687&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Juan Perez&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Base1&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;null&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl69&quot;&gt;10/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2537687&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Juan Perez&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;null&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;No contesta&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl69&quot;&gt;11/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2534454&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Maria Flores&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl67&quot;&gt;Base2&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;null&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border-top:none; height:15.0pt; height: 20px;&quot; class=&quot;xl69&quot;&gt;11/04/2019&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;2534454&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Maria Flores&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;null&lt;/td&gt;&lt;td style=&quot;border-left:none; border-top:none; height:15.0pt&quot; class=&quot;xl68&quot;&gt;Agendado&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;es decir, se crean 2 filas por registro pero deben estar en una sola por id_interaccion espero que me puedan ayudar, muchas gracias.&amp;nbsp;&lt;/p&gt;</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2192/select-sql-server-tabla-con-2-valores-en-campo</guid>
<pubDate>Sun, 14 Apr 2019 23:19:17 +0000</pubDate>
</item>
<item>
<title>Respondido: Duda mejorar un stored procedure sql server</title>
<link>https://dudasprogramacion.com/2155/duda-mejorar-un-stored-procedure-sql-server?show=2156#a2156</link>
<description>000000000000000000000000000000</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2155/duda-mejorar-un-stored-procedure-sql-server?show=2156#a2156</guid>
<pubDate>Fri, 08 Feb 2019 16:41:09 +0000</pubDate>
</item>
<item>
<title>Respondido: Web service no puede conectarse a servidor SQL Server</title>
<link>https://dudasprogramacion.com/2120/web-service-no-puede-conectarse-a-servidor-sql-server?show=2122#a2122</link>
<description>Pregunta repetida, responder aquí:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://dudasprogramacion.com/2121/web-service-no-puede-conectarse-a-servidor-sql-server&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://dudasprogramacion.com/2121/web-service-no-puede-conectarse-a-servidor-sql-server&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
No sé cómo eliminar este post repetido :S</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2120/web-service-no-puede-conectarse-a-servidor-sql-server?show=2122#a2122</guid>
<pubDate>Tue, 13 Jun 2017 21:55:31 +0000</pubDate>
</item>
<item>
<title>Web service no puede conectarse a servidor SQL Server</title>
<link>https://dudasprogramacion.com/2121/web-service-no-puede-conectarse-a-servidor-sql-server</link>
<description>&lt;p&gt;Hola a todos:&lt;/p&gt;&lt;p&gt;Tengo este problema: Estoy creando un web service (usando Visual Basic .NET) para conectarse a una base de datos SQL Server Express 2014. Tanto el servidor IIS como SQL Server están instalados en la misma PC. Al probarlo, sin embargo, me aparece este error:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;El servidor no puede procesar la solicitud. ---&amp;gt; Error relacionado con la red o específico de la instancia mientras se establecía una conexión con el servidor SQL Server. No se encontró el servidor o éste no estaba accesible. Compruebe que el nombre de la instancia es correcto y que SQL Server está configurado para admitir conexiones remotas. (provider: Named Pipes Provider, error: 40 - No se pudo abrir una conexión con SQL Server) ---&amp;gt; No se ha encontrado la ruta de acceso de la red&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;He buscado en Internet sobre este tipo de problemas, y he intentando todas las alternativas de solución, incluyendo:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Verificar que los servicios de SQL Server (SQLEXPRESS) y SQL Server Browser estén en ejecución.&lt;/li&gt;&lt;li&gt;Verificar que esté activado el protocolo TCP/IP.&lt;/li&gt;&lt;li&gt;Verificar que esté activada la opción de Permitir conexiones remotas en la instancia de SQL Server.&lt;/li&gt;&lt;li&gt;Verificar que el nombre de la instancia de SQL Server sea el correcto (en mi caso PC-DQL\SQLEXPRESS) y coincida con el indicado en el web service.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Un detalle es que el web service creado me lo pasó otra persona, que dice que lo probó en su PC y sí le funciona. Probé cambiando el nombre de mi PC (PC-DQL), por si había algún problema con el uso de guiones al referirme a la instancia de SQL Server, y editando este mismo nombre en el archivo XML de datos de conexión del web service. También cambié el nombre de la base de datos en el archivo XML para que coincida con el nombre de la BD instalada en mi PC.&lt;/p&gt;&lt;p&gt;Nada de esto ha funcionado. Una y otra vez me sigue mandando el mensaje de &quot;No se ha encontrado la ruta de acceso de la red.&lt;/p&gt;&lt;p&gt;¿Qué podría estar pasando?&lt;/p&gt;&lt;p&gt;De antemano gracias por su ayuda.&lt;/p&gt;</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2121/web-service-no-puede-conectarse-a-servidor-sql-server</guid>
<pubDate>Tue, 13 Jun 2017 21:52:18 +0000</pubDate>
</item>
<item>
<title>Enviar informacion a un parametro en un cross Table Postgres</title>
<link>https://dudasprogramacion.com/2118/enviar-informacion-un-parametro-en-un-cross-table-postgres</link>
<description>Hola que tal tengo este query pero necesito enviar como parametro el id_lote, esto esta dentro de una funcion,&lt;br /&gt;
&lt;br /&gt;
al crear y definir el parametro cuando ejecuto la funcion no detecta al parametro.&lt;br /&gt;
&lt;br /&gt;
Tal vez la sintaxis este mal pero no eh encontrado la solucion.&lt;br /&gt;
&lt;br /&gt;
select *&lt;br /&gt;
from crosstab(&amp;#039;select b.id_lote,b.servicio,b.servicio from catastro.parametros_ficha a&lt;br /&gt;
left join &amp;nbsp;catastro.cat_servicio_lote b On a.id_parametro_ficha = b.servicio&lt;br /&gt;
where a.id_catalogo = 9 and b.id_lote = Parametro&lt;br /&gt;
order by indicador&amp;#039;)&lt;br /&gt;
as ct( id bigint ,alumbrado integer , recoleccion integer , transporte integer ,internet integer,aseo integer, aceras integer , bordillos integer,otros integer );</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2118/enviar-informacion-un-parametro-en-un-cross-table-postgres</guid>
<pubDate>Thu, 08 Jun 2017 16:13:56 +0000</pubDate>
</item>
<item>
<title>Reporte del Registro DML de una tabla</title>
<link>https://dudasprogramacion.com/2095/reporte-del-registro-dml-de-una-tabla</link>
<description>Lo que requiero es saber cuantos insert, update y delete hay en una tabla de mi base de datos, manualmente, sin requerir de software adicional y leer dicho registro... Alguna idea de como hacerlo en SQL, pues este no almacena un registro concreto de ello?</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2095/reporte-del-registro-dml-de-una-tabla</guid>
<pubDate>Wed, 19 Apr 2017 18:46:20 +0000</pubDate>
</item>
<item>
<title>Curso de MongoDB</title>
<link>https://dudasprogramacion.com/2035/curso-de-mongodb</link>
<description>Qué tal&lt;br /&gt;
&lt;br /&gt;
Alguna persona está llevando algún curso Mongo de este sitio??&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://university.mongodb.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://university.mongodb.com/&lt;/a&gt;</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/2035/curso-de-mongodb</guid>
<pubDate>Tue, 14 Feb 2017 00:58:37 +0000</pubDate>
</item>
<item>
<title>como modificar un nombre,reemplazar las vocales por la vocal siguiente ejemplo: LEONARDO modificado seria LIUNERDU</title>
<link>https://dudasprogramacion.com/1909/modificar-reemplazar-siguiente-leonardo-modificado-liunerdu</link>
<description>Buenas noches, escribo con el fin de obtener una guia o colaboracion con un tema, tengo en una tabla &amp;quot;SQL SERVER&amp;quot; 5 campos(nombre1,nombre2,apellido1,apellido2,nombre completo) los cuales son de tipo de dato varchar en ellos guardo los nombres, apellidos y nombre completo, necesito crear un script en SQL SERVER el cual me modifique los registros de los campos de la siguiente manera reemplazar las vocales por la vocal siguiente me explico tengo en el campo1 el valor de LEONARDO con la modificacion el valor del campo deberia quedar LIUNERDU esto lo debo hacer con los demas campos mencionados. Agradezco a la persona que me pueda dar alguna idea ayuda o colaboracion con el tema, muchas gracias</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1909/modificar-reemplazar-siguiente-leonardo-modificado-liunerdu</guid>
<pubDate>Thu, 01 Sep 2016 00:39:59 +0000</pubDate>
</item>
<item>
<title>Respondido: almacenar imagenes y audio en mongoDB</title>
<link>https://dudasprogramacion.com/1904/almacenar-imagenes-y-audio-en-mongodb?show=1907#a1907</link>
<description>Yo te recomiendo que en MongoDB guardes el enlace de la imagen o del audio y que el archivo lo dejes en un sistema de archivos, ya sea en local o en cloud (por ejemplo en S3 de Amazón).&lt;br /&gt;
&lt;br /&gt;
Saludos.</description>
<category>MongoDB</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1904/almacenar-imagenes-y-audio-en-mongodb?show=1907#a1907</guid>
<pubDate>Mon, 29 Aug 2016 09:54:44 +0000</pubDate>
</item>
<item>
<title>Respondido: como puedo conectar una base de datos mysql workbench a un programa en java netbeans 8.0.1?</title>
<link>https://dudasprogramacion.com/1517/como-puedo-conectar-datos-mysql-workbench-programa-netbeans?show=1883#a1883</link>
<description>Hey hola!!&lt;br /&gt;
&lt;br /&gt;
necesitas el conector de mysql lo puedes agregar como libreria desde netbeans, puedes descargar el conector en el siguiente link.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://dev.mysql.com/downloads/connector/j/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://dev.mysql.com/downloads/connector/j/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
saludos.</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1517/como-puedo-conectar-datos-mysql-workbench-programa-netbeans?show=1883#a1883</guid>
<pubDate>Mon, 15 Aug 2016 01:42:48 +0000</pubDate>
</item>
<item>
<title>Necesito ayuda con una cosulta simple que me ha dado muchos dolores de cabeza</title>
<link>https://dudasprogramacion.com/1871/necesito-ayuda-con-cosulta-simple-dado-muchos-dolores-cabeza</link>
<description>Buen día.&lt;br /&gt;
&lt;br /&gt;
Por favor, cual sería la consulta equivalente de esta, en mongoDB&lt;br /&gt;
&lt;br /&gt;
SELECT ra,dec FROM db WHERE valor_absoluto(ra-ra0)&amp;lt;tamaño/2 &amp;amp;&amp;amp; valor_absoluto(dec-dec0)&amp;lt;tamaño/2&lt;br /&gt;
&lt;br /&gt;
donde ra0,dec,tamaño son datos de entrada.&lt;br /&gt;
&lt;br /&gt;
Me di cuenta de que solo había hecho consultas simples con mongo pero esa me ha costado. No se como armarla la verdad.&lt;br /&gt;
&lt;br /&gt;
Saludos.</description>
<category>MongoDB</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1871/necesito-ayuda-con-cosulta-simple-dado-muchos-dolores-cabeza</guid>
<pubDate>Thu, 11 Aug 2016 01:37:25 +0000</pubDate>
</item>
<item>
<title>Respondido: Consulta base de datos biblioteca pequeña</title>
<link>https://dudasprogramacion.com/1862/consulta-base-de-datos-biblioteca-pequena?show=1864#a1864</link>
<description>&lt;p&gt;Hola,&amp;nbsp;&lt;/p&gt;&lt;p&gt;puedes hacer una tabla de prestamo detalle. En el prestamo el problema que presentas es que solo pueden llevarse un libro por cada registro, con la tabla prestamoDetalle puedes guardar el registro por cada libro pero será un mismo id del prestamo.&lt;/p&gt;&lt;p&gt;Prestamos:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;id_prestamo&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;id_lib (FK isbn)&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;id_cliente (FK id_cli)&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;fecha_salida&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;fecha_max_dev&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;fecha_devolucion&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;PrestamoDetalle&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;idPrestamoDetalle&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;idPrestamo&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;idLibro&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;Con esto estas guardando varios prestamos de diferentes libros, pero dentro de un mismo folio del prestamo.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;Espero que me haya explicado bien, cualquier duda o comentario estoy para ayudarte&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;Gracias&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1862/consulta-base-de-datos-biblioteca-pequena?show=1864#a1864</guid>
<pubDate>Fri, 05 Aug 2016 10:10:46 +0000</pubDate>
</item>
<item>
<title>Respondido: como puedo importar  &amp; exportar correctamente y funcional una nase de datos MySql workbech</title>
<link>https://dudasprogramacion.com/1593/puedo-importar-exportar-correctamente-funcional-workbech?show=1863#a1863</link>
<description>Hola,&lt;br /&gt;
&lt;br /&gt;
cuando abres MySQL WOrkbench en la parte derecha existe un apartado que es &amp;quot;Manage Import/Export&amp;quot;, al dar clic te va a pedir la contraseña de tu servicio SQL , abrirá una ventana donde muestra todas las base de datos que tiene y la opcion de importar o exportar tablas&lt;br /&gt;
&lt;br /&gt;
cualquier duda deja el comentario ;), no se te olvide votar :D</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1593/puedo-importar-exportar-correctamente-funcional-workbech?show=1863#a1863</guid>
<pubDate>Fri, 05 Aug 2016 10:02:09 +0000</pubDate>
</item>
<item>
<title>Respondido: Ayuda con los registros en mysql y un sitio web de noticias</title>
<link>https://dudasprogramacion.com/1846/ayuda-con-los-registros-en-mysql-y-un-sitio-web-de-noticias?show=1858#a1858</link>
<description>Hola, bueno pues yo creo que si tienes ya tu base de datos debes tener un campo de fecha, pues con ese puedes ir filtrando los datos que quieres mostrar, si puedes poner en que lo estas programando y como haces tu consulta podria ser mas facil ayudarte</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1846/ayuda-con-los-registros-en-mysql-y-un-sitio-web-de-noticias?show=1858#a1858</guid>
<pubDate>Mon, 01 Aug 2016 21:13:07 +0000</pubDate>
</item>
<item>
<title>Respondido: Comandos, respaldos y recuperacion</title>
<link>https://dudasprogramacion.com/1507/comandos-respaldos-y-recuperacion?show=1849#a1849</link>
<description>&lt;p&gt;Hola luis te comparto los comandos para hacer una copa y para restaurar una Base de Datos en mysql.&lt;/p&gt;&lt;p&gt;1.&amp;nbsp;&lt;span style=&quot;color:rgb(32, 26, 27); font-family:open sans,helvetica neue,helvetica,arial,sans-serif; font-size:18px&quot;&gt;Ejecuta el siguiente comando para realizar una copia de seguridad completa de la base de datos llamada&amp;nbsp;&lt;/span&gt;NOMBRE_BASE_DE_DATOS&lt;span style=&quot;color:rgb(32, 26, 27); font-family:open sans,helvetica neue,helvetica,arial,sans-serif; font-size:18px&quot;&gt;. No olvides reemplazar&amp;nbsp;&lt;/span&gt;TU_USUARIO&lt;span style=&quot;color:rgb(32, 26, 27); font-family:open sans,helvetica neue,helvetica,arial,sans-serif; font-size:18px&quot;&gt;&amp;nbsp;y&amp;nbsp;&lt;/span&gt;TU_CONTRASEÑA&lt;span style=&quot;color:rgb(32, 26, 27); font-family:open sans,helvetica neue,helvetica,arial,sans-serif; font-size:18px&quot;&gt;&amp;nbsp;por las credenciales que utilizas para acceder al servidor de base de datos:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;$ mysqldump --user=TU_USUARIO --password=TU_CONTRASEÑA NOMBRE_BASE_DE_DATOS &amp;gt; copia_seguridad.sql&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(32, 26, 27); font-family:open sans,helvetica neue,helvetica,arial,sans-serif; font-size:18px&quot;&gt;2.&amp;nbsp;Si la copia de seguridad la haces en una versión de MySQL moderna y la recuperación de la información se realiza en una versión un poco antigua, es mejor que añadas la opción&amp;nbsp;&lt;/span&gt;--skip-opt&lt;span style=&quot;color:rgb(32, 26, 27); font-family:open sans,helvetica neue,helvetica,arial,sans-serif; font-size:18px&quot;&gt;&amp;nbsp;al realizar la copia de seguridad, para desactivar algunas opciones modernas e incompatibles:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style=&quot;font-family:consolas; font-size:11.0pt&quot;&gt;$ mysqldump --user=TU_USUARIO --password=TU_CONTRASEÑA&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;font-family:consolas; font-size:11.0pt&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;--skip-opt NOMBRE_BASE_DE_DATOS &amp;gt; copia_seguridad.sql&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1507/comandos-respaldos-y-recuperacion?show=1849#a1849</guid>
<pubDate>Fri, 29 Jul 2016 02:49:41 +0000</pubDate>
</item>
<item>
<title>Respondido: Como hacer Conexion a Base de Datos</title>
<link>https://dudasprogramacion.com/591/como-hacer-conexion-a-base-de-datos?show=1835#a1835</link>
<description>&lt;p&gt;Hola&amp;nbsp;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:12px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:12px&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.dudasprogramacion.com/user/Jeancarlo&quot;&gt;Jeancarlo&lt;/a&gt;....&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:12px&quot;&gt;Bueno primeramente yo al crear&amp;nbsp;una conexion al gestor de base de datos creo una clase llamada conexion la cual me ayuda a crear un crud o en este caso un formulario te comparto mi codigo el cual utilizo al conectar mi programa al gestor de base de datos a continuacion te muestro mi codigo, donde recbo tres objetos la cual es la url donde ponemos el nombre de la base de datos el segundo que es el usuario y el tercero que es la contraseña si es que el usuaro tiene contraseña para ingresar al gestor de base de datos.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;public class conexion {&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;public static final String URL = &quot;jdbc:mysql://localhost:3306/registro&quot;;&lt;br&gt;&amp;nbsp; &amp;nbsp; public static final String USERNAME = &quot;root&quot;;&lt;br&gt;&amp;nbsp; &amp;nbsp; public static final String PASSWORD = &quot;pedro&quot;;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; public static Connection getConnection() {&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Connection connection = null;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Class.forName(&quot;com.mysql.jdbc.Driver&quot;);&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; connection = DriverManager.getConnection(URL, USERNAME, PASSWORD);&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception e) {&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(e);&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return connection;&lt;br&gt;&amp;nbsp; &amp;nbsp; }}&lt;/p&gt;</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/591/como-hacer-conexion-a-base-de-datos?show=1835#a1835</guid>
<pubDate>Mon, 18 Jul 2016 05:07:06 +0000</pubDate>
</item>
<item>
<title>Diferencias Oracle 10g y 12c</title>
<link>https://dudasprogramacion.com/1831/diferencias-oracle-10g-y-12c</link>
<description>Hola, porfa tengo unas dudas con Oracle, ¿Cuáles son las diferencias entre Oracle 10g R2 y Oracle 12c R2? Porfa si alguien me puede ayudar con eso...&lt;br /&gt;
&lt;br /&gt;
Gracias de antemano, saludos,&lt;br /&gt;
&lt;br /&gt;
Jean Piere.</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1831/diferencias-oracle-10g-y-12c</guid>
<pubDate>Fri, 15 Jul 2016 16:03:09 +0000</pubDate>
</item>
<item>
<title>Respondido: Hola colegas, mi duda es la siguiente...¿Cuáles son (si existen) los comandos de SQL para asignar espacios a una BD?</title>
<link>https://dudasprogramacion.com/1602/colegas-siguiente-cuales-existen-comandos-asignar-espacios?show=1817#a1817</link>
<description>Supongo que se referia a expandir una bd o dejar tipo una fila sin contenido, digo yo nunca he eschuchado ese termino o asi como te lo solicitan</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1602/colegas-siguiente-cuales-existen-comandos-asignar-espacios?show=1817#a1817</guid>
<pubDate>Mon, 11 Jul 2016 23:37:14 +0000</pubDate>
</item>
<item>
<title>Respondido: Ayuda! :)</title>
<link>https://dudasprogramacion.com/596/ayuda?show=1813#a1813</link>
<description>&lt;p&gt;Supongo q por la falta del punto y coma (;) al final de cada creacion de las tablas y puede ser que no era necesario el &lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;CLUSTERED&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/596/ayuda?show=1813#a1813</guid>
<pubDate>Mon, 11 Jul 2016 23:07:45 +0000</pubDate>
</item>
<item>
<title>Respondido: Duda SQL</title>
<link>https://dudasprogramacion.com/670/duda-sql?show=1812#a1812</link>
<description>&lt;p&gt;&amp;lt;&amp;lt;necesitas una instruccion que te permita crear una nueva tabla y al mismo tiempo que inserte en la nueva tabla&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;SELECT &#039;n_factura&#039; FROM &#039;Facturas&#039; INTO &#039;Recibos[n_factura]&#039;;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;este sería un ejemplo de lo que necesita&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Espero les sea de ayuda ,.. gracias ;)&amp;nbsp;&lt;/em&gt;&lt;/p&gt;</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/670/duda-sql?show=1812#a1812</guid>
<pubDate>Mon, 11 Jul 2016 02:40:08 +0000</pubDate>
</item>
<item>
<title>Respondido: Actualizar un registro con Store Procedure</title>
<link>https://dudasprogramacion.com/1603/actualizar-un-registro-con-store-procedure?show=1811#a1811</link>
<description>&lt;p&gt;Hola, según el ejemplo que pusiste yo lo acomodaría de la siguiente manera .. y si me funciona&amp;nbsp;&lt;/p&gt;&lt;p&gt;DELIMITER //&lt;/p&gt;&lt;p&gt;CREATE PROCEDURE updateDestino(&lt;/p&gt;&lt;p&gt;@ id int,&amp;nbsp;&lt;/p&gt;&lt;p&gt;@&amp;nbsp;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;dest_nombre_in varchar (45),&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;@&amp;nbsp;reg_id_in tinyint (2),&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;@ dest_precios_in int (7),&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;@&amp;nbsp;dest_asientos_in tinyint (2),&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;@ dest_disponibles_in tinyint (2)&lt;/span&gt;)&lt;/p&gt;&lt;p&gt;AS&lt;/p&gt;&lt;p&gt;BEGIN&amp;nbsp;&lt;/p&gt;&lt;p&gt;UPDATE DESTINOS&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;set &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dest_nombre = @dest_nombre_in , reg_id = @ reg_id_in, dest_precios = @dest_precios_in, dest_asientos = dest_asientos_in, @ dest_disponibles = dest_disponibles_in&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where dest_id = id;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;END //;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Espero te funciones .. saludos&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1603/actualizar-un-registro-con-store-procedure?show=1811#a1811</guid>
<pubDate>Mon, 11 Jul 2016 02:30:14 +0000</pubDate>
</item>
<item>
<title>Respondido: Como puedo hacer comparación de dos datos en diferentes tablas SQL?</title>
<link>https://dudasprogramacion.com/1575/como-puedo-hacer-comparacion-dos-datos-diferentes-tablas-sql?show=1727#a1727</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;&lt;span style=&quot;color:rgb(0, 0, 0); font-size:12px&quot;&gt;Puedes provar utilizando las siguientes funciones&amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(0, 0, 0); font-size:12px&quot;&gt;DATEPART que te devuelve una parte de la fecha DATEPART (year, Date) te devolvera el año&amp;nbsp;el primer parametro indica que quieres que te devuelva year&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color:rgb(0, 0, 0); font-size:12px&quot;&gt;SELECT RTRIM(LTRIM(CONVERT (&amp;nbsp;CONVERT (char (4), DATEPART (Year, GETDATE ()))&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1575/como-puedo-hacer-comparacion-dos-datos-diferentes-tablas-sql?show=1727#a1727</guid>
<pubDate>Mon, 06 Jun 2016 00:49:44 +0000</pubDate>
</item>
<item>
<title>Respondido: Conexión en bases de datos distribuidas</title>
<link>https://dudasprogramacion.com/1628/conexion-en-bases-de-datos-distribuidas?show=1700#a1700</link>
<description>Pues yo te recomiendo que en tu red el servidor no tenga una puerta de enlace y las maquinas tengan la ip del servidor y en MySql crea un usuario y su contraseña, y le das los privilegios correspondientes ya que si quieres mayor seguridad crea un usuario como administrador y otro en general</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1628/conexion-en-bases-de-datos-distribuidas?show=1700#a1700</guid>
<pubDate>Thu, 02 Jun 2016 16:21:03 +0000</pubDate>
</item>
<item>
<title>Requiero simplificar estas 6 querys en una sola</title>
<link>https://dudasprogramacion.com/1637/requiero-simplificar-estas-6-querys-en-una-sola</link>
<description>&lt;p&gt;Buenas tardes por favor ayudenme, requiero simplificar estos 6 mysqli_querys en 1 sola:&lt;/p&gt;&lt;p&gt;$result1 = mysqli_query($conn, &quot;SELECT&amp;nbsp; &lt;em&gt;MAX&lt;/em&gt;(id_cart) id_cart , quantity FROM ps_cart_product&amp;nbsp; &quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;or die &lt;/strong&gt;(&quot;problemas en consulta:&quot;.mysql_error()) ;&lt;br&gt;&lt;br&gt;&lt;strong&gt;while &lt;/strong&gt;($row1 = mysqli_fetch_array($result1)){&lt;br&gt;$id_cart = $row1[&#039;id_cart&#039;];&lt;br&gt;&lt;br&gt;$result2 = mysqli_query($conn, &quot;SELECT id_cart, id_product, quantity FROM ps_cart_product WHERE id_cart=($id_cart) &quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;or die &lt;/strong&gt;(&quot;problemas en consulta:&quot; .mysql_error());&lt;br&gt;&lt;br&gt;&lt;strong&gt;while &lt;/strong&gt;($row2 = mysqli_fetch_array($result2)) {&lt;/p&gt;&lt;p&gt;$id_product=$row2[&#039;id_product&#039;];&lt;br&gt;&lt;br&gt;$result3 = mysqli_query($conn, &quot;SELECT price,id_tax_rules_group FROM ps_product WHERE id_product=($id_product) &quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;or die &lt;/strong&gt;(&quot;problemas en consulta:&quot; . mysql_error());&lt;br&gt;&lt;br&gt;&lt;strong&gt;while &lt;/strong&gt;($row3 = mysqli_fetch_array($result3)) {&lt;br&gt;$id_tax_rules_group = $row3[&#039;id_tax_rules_group&#039;];&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;$result4 = mysqli_query($conn, &quot;SELECT rate FROM ps_tax WHERE id_tax=($id_tax_rules_group) &quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;or die &lt;/strong&gt;(&quot;problemas en consulta:&quot; . mysql_error());&lt;br&gt;&lt;br&gt;&lt;strong&gt;while &lt;/strong&gt;($row4 = mysqli_fetch_array($result4, (&lt;em&gt;MYSQLI_ASSOC&lt;/em&gt;))) {&lt;br&gt;&lt;br&gt;$result5 = mysqli_query($conn, &quot;SELECT description_short, name FROM ps_product_lang WHERE id_product=($id_product) &quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;or die &lt;/strong&gt;(&quot;problemas en consulta:&quot; . mysql_error());&lt;br&gt;&lt;br&gt;&lt;strong&gt;while &lt;/strong&gt;($row5 = mysqli_fetch_array($result5, (&lt;em&gt;MYSQLI_ASSOC&lt;/em&gt;))) {&lt;br&gt;&lt;br&gt;$result6 = mysqli_query($conn, &quot;SELECT reduction FROM ps_specific_price WHERE id_product=($id_product) &quot; ) &lt;strong&gt;or die &lt;/strong&gt;(&quot;problemas en consulta:&quot; . mysql_error());&lt;br&gt;&lt;br&gt;........&lt;/p&gt;&lt;p&gt;las habia hecho por separado como observan, y a ultima hora me las piden que la simplifique en una sola.&lt;br&gt;&lt;br&gt;Le agradezco su apoyo, gracias.&lt;/p&gt;</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1637/requiero-simplificar-estas-6-querys-en-una-sola</guid>
<pubDate>Thu, 12 May 2016 21:54:15 +0000</pubDate>
</item>
<item>
<title>Me gustaría ayuda con un programa.</title>
<link>https://dudasprogramacion.com/1610/me-gustaria-ayuda-con-un-programa</link>
<description>Buenas quería consultar una duda sobre como crear un programa que reconozca los textos que hay dentro de un CD/DVD en Windows, la idea principal seria que el programa reconociera un listado de archivos que hay dentro de un CD/DVD y luego clasificar la informacion, de &amp;nbsp;lo que hay dentro de el en Una base de Datos de SQL, solo los textos no los archivos solo los nombres y poder tener un listado en una pagina web creada PHP un motor de busqueda que ya tengo para la base de datos. alguna Idea donde pueda empezar?</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1610/me-gustaria-ayuda-con-un-programa</guid>
<pubDate>Sun, 17 Apr 2016 17:38:19 +0000</pubDate>
</item>
<item>
<title>webfocus aplicaciones de inteligencia de negocio</title>
<link>https://dudasprogramacion.com/1598/webfocus-aplicaciones-de-inteligencia-de-negocio</link>
<description>buenas tardes! algun tutorial sobre webfocus?. gracias</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1598/webfocus-aplicaciones-de-inteligencia-de-negocio</guid>
<pubDate>Fri, 01 Apr 2016 18:04:08 +0000</pubDate>
</item>
<item>
<title>Respondido: Estimados, por que al configurar el sql server 2008 r2 para enviar correos al GMAIL me sale un error!!</title>
<link>https://dudasprogramacion.com/1559/estimados-configurar-server-2008-enviar-correos-gmail-error?show=1561#a1561</link>
<description>Qué error te devuelve?</description>
<category>SQL Server</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1559/estimados-configurar-server-2008-enviar-correos-gmail-error?show=1561#a1561</guid>
<pubDate>Sat, 05 Mar 2016 01:18:33 +0000</pubDate>
</item>
<item>
<title>Respondido: donde se usa en la industria una FK compuesta, uso de foreign key on delete cascada y foreign key on delete set null</title>
<link>https://dudasprogramacion.com/1547/industria-compuesta-foreign-delete-cascada-foreign-delete?show=1551#a1551</link>
<description>La complejidad en el control de foreign-key suele llevar a que en grandes sistemas se gestione por parte de la aplicación el control de diferentes tablas y no se deje sobre la propia base de datos.</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1547/industria-compuesta-foreign-delete-cascada-foreign-delete?show=1551#a1551</guid>
<pubDate>Tue, 01 Mar 2016 00:17:58 +0000</pubDate>
</item>
<item>
<title>In-Memory Storage Engine</title>
<link>https://dudasprogramacion.com/1464/in-memory-storage-engine</link>
<description>Alguien tiene algún ejemplo de cómo activar el almacenamiento en memoria de MongoDB y algún ejemplo de uso.&lt;br /&gt;
&lt;br /&gt;
Gracias.</description>
<category>MongoDB</category>
<guid isPermaLink="true">https://dudasprogramacion.com/1464/in-memory-storage-engine</guid>
<pubDate>Sat, 06 Feb 2016 18:28:19 +0000</pubDate>
</item>
<item>
<title>Respondido: ayuda con mer</title>
<link>https://dudasprogramacion.com/540/ayuda-con-mer?show=1419#a1419</link>
<description>por favor necesito ayuda, toy haciendo un proyecto y tengo que utilizar hibernate, por lo tanto tengo que tener bien hecha la base de datos y me parece como hice el mer no esta bien, Desde ya muchas gracias. Saludos</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/540/ayuda-con-mer?show=1419#a1419</guid>
<pubDate>Fri, 29 Jan 2016 04:23:51 +0000</pubDate>
</item>
<item>
<title>Respondido: ayuda diagrama er</title>
<link>https://dudasprogramacion.com/299/ayuda-diagrama-er?show=1102#a1102</link>
<description>Buenas,&lt;br /&gt;
&lt;br /&gt;
Lo primero, no relaciones por el nombre del cliente, usa en todas las tablas ID´s numéricos para cada entrada.&lt;br /&gt;
&lt;br /&gt;
Y lo segundo, faltaría una tabla para relacionar todo, Persona_Servicio_Horario, y si los horarios no son fijos, yo quitaría la tabla horario y metería un campo Fecha en la tabla antes mencionada Persona_Servicio_Horario&lt;br /&gt;
&lt;br /&gt;
Saludos&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/299/ayuda-diagrama-er?show=1102#a1102</guid>
<pubDate>Fri, 29 Jan 2016 04:23:38 +0000</pubDate>
</item>
<item>
<title>Respondido: Búsqueda aproximada</title>
<link>https://dudasprogramacion.com/137/busqueda-aproximada?show=871#a871</link>
<description>@elisabetha,&lt;br /&gt;
&lt;br /&gt;
Tienes que añadir un tanto por ciento delante y detrás de la cadena. De tal manera que si pones %al% te buscaría todos los nombres que tuviesen un &amp;amp;quot;al&amp;amp;quot; en el nombre: alejandro, alberto, ronaldo,.....&lt;br /&gt;
&lt;br /&gt;
La query te quedaría de la siguiente forma.... ten cuidado porque tienes que utilizar la sentencia LIKE en vez de el igual&lt;br /&gt;
&lt;br /&gt;
SELECT nombre&lt;br /&gt;
&lt;br /&gt;
FROM tabla&lt;br /&gt;
&lt;br /&gt;
WHERE nombre LIKE &amp;#039;%al%&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Espero que te sirva. Y ya quedamos para tomar el cafe ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</description>
<category>SQL</category>
<guid isPermaLink="true">https://dudasprogramacion.com/137/busqueda-aproximada?show=871#a871</guid>
<pubDate>Fri, 29 Jan 2016 04:23:27 +0000</pubDate>
</item>
<item>
<title>Respondido: top en DB2</title>
<link>https://dudasprogramacion.com/106/top-en-db2?show=814#a814</link>
<description>&lt;p&gt;Gabri,&lt;/p&gt;&lt;p&gt;A mi me funcionó... el ejemplo del query es el siguiente&lt;/p&gt;&lt;pre&gt;&quot;select * from  atad.tatadagc where COD_COMPPDRE in (select COD_COMPONTE from atad.TATADCOM   fetch first 5 rows only) fetch first 2 rows only&quot;&lt;/pre&gt;</description>
<category>DB2</category>
<guid isPermaLink="true">https://dudasprogramacion.com/106/top-en-db2?show=814#a814</guid>
<pubDate>Fri, 29 Jan 2016 04:23:25 +0000</pubDate>
</item>
<item>
<title>como almacenar árboles de directorios</title>
<link>https://dudasprogramacion.com/692/como-almacenar-arboles-de-directorios</link>
<description>Hola, buenas tardes,&lt;br /&gt;
&lt;br /&gt;
estoy diseñando una aplicación para múltiples bases de datos y necesito replicar varias estructuras de directorios en la base de datos que me permita realizar operaciones de una manera rápida,&lt;br /&gt;
&lt;br /&gt;
las operaciones a realizar son las comunes con árboles de directorios, agregado, movimiento y borrado de ítems, movimiento y borrado de un sub árbol, etc.&lt;br /&gt;
&lt;br /&gt;
¿qué técnica me recomiendan para almacenar los árboles de directorios?&lt;br /&gt;
&lt;br /&gt;
muchas gracias,&lt;br /&gt;
&lt;br /&gt;
saludos,</description>
<category>Bases de Datos</category>
<guid isPermaLink="true">https://dudasprogramacion.com/692/como-almacenar-arboles-de-directorios</guid>
<pubDate>Fri, 29 Jan 2016 04:18:11 +0000</pubDate>
</item>
<item>
<title>saltos de linea en DB2</title>
<link>https://dudasprogramacion.com/278/saltos-de-linea-en-db2</link>
<description>buenas tardes quisiera saber como puedo quitar los saltos de linea en db2 ya que consulto y me sale los registros con un salto de linea al final&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</description>
<category>DB2</category>
<guid isPermaLink="true">https://dudasprogramacion.com/278/saltos-de-linea-en-db2</guid>
<pubDate>Fri, 29 Jan 2016 04:02:09 +0000</pubDate>
</item>
<item>
<title>IMPORTAR DATOS DE TABLAS AS/400</title>
<link>https://dudasprogramacion.com/249/importar-datos-de-tablas-as-400</link>
<description>hola amigos tengo una tarea existe un as/400 que tiene varias tablas y tengo una base de datos db2 y quiero que los registros de las tablas del as/400 pasen a las tablas del db2, como puedo hacer donde busco información o como creo ese archivo o proceso que importe los registros del as400 al db2, claro que con los mismos campos de tablas y tipos de datos.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</description>
<category>DB2</category>
<guid isPermaLink="true">https://dudasprogramacion.com/249/importar-datos-de-tablas-as-400</guid>
<pubDate>Fri, 29 Jan 2016 04:01:02 +0000</pubDate>
</item>
</channel>
</rss>