1 research outputs found

    Arquitectura para la generaci贸n de consultas SQL usando l贸gica de conjuntos

    Get PDF
    This article shows the architecture implemented in the development of an SQL code generating tool (query code) between several tables, where it is desired to perform operations that are related to JOIN operations between tables. The tool exploits the use of LEFT JOIN, RIGHT JOIN, INNER JOIN and FULL OUTHER JOIN. The proposed architecture works for a large number of tables; however, the tool for reasons of computational efficiency in this version, allows up to three tables. The metaphor that follows the SQL code generator, is the metaphor imposed by Venn diagrams, which is useful in multiple computational applications and, in this article, it was used for the construction of a code generator, in which the user selects a concrete Venn diagram. At the end of the article, we show the modifications that are necessary to implement in the architecture, to add other functionalities.El presente art铆culo muestra, la arquitectura implementada en el desarrollo de una herramienta generadora de c贸digo SQL, concretamente c贸digo de consulta entre varias tablas, en donde se desean hacer operaciones que guardan relaci贸n con las operaciones de JOIN entre tablas. La herramienta explota el uso de LEFT JOIN, RIGHT JOIN, INNER JOIN Y FULL OUTHER JOIN. La arquitectura propuesta funciona para una gran cantidad de tablas, sin embargo, la herramienta por razones de eficiencia computacional en esta versi贸n permite hasta tres tablas. La met谩fora que sigue el generador de c贸digo SQL, es la met谩fora impuesta por los diagramas de Venn, la cual es 煤til en m煤ltiples aplicaciones computacionales y en este art铆culo se us贸 para la construcci贸n de un generador de c贸digo en donde el usuario selecciona un diagrama de Venn concreto. Al final del art铆culo se muestran las modificaciones que se hace necesario implementar a la arquitectura para agregar otras funcionalidades
    corecore