Archiv der Kategorie: SQL

Sparx Systems Enterprise Architect: Get Images of Diagram By Diagram Name SQL

Problem The Images of a specific diagram in the data structure of the Sparx Systems Enterprise Architect should be read by diagram name. Approach Usage of MDB Plus and Data Mining Solution This is SQL for the Access / .eap-File … Weiterlesen

Veröffentlicht unter Access, Datenbanken, MS SQL Server, Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar

Sparx Systems Enterprise Architect SQL: Get all Images with ImageID of a diagram

Problem All Images of an Diagram (the ImageIds) shall be determined, so that can be read out from the table t_image (see previous article about BLOB and EA). Approach – Ansatz Usage of the tables – t_diagram – t_diagramobjects – … Weiterlesen

Veröffentlicht unter Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar

Sparx Systems Enterprise Architect SQL : Query to get the order of objects / elements in the project browser tree

Problem The order of tree elements in the project browser should be queried in SQL. Die Reihenfolge der Objekte im Projekt-Browser soll über SQL abgefragt werden Approach – Ansatz Usage of the TPos column within the tables t_object and t_package. … Weiterlesen

Veröffentlicht unter Access, Datenbanken, MS SQL Server, Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar

ASP.NET / Sparx Systems Enterprise Architect : Read binary Image from Database ( BLOB ) and show / display it on a webpage

Problem A binary picture that has been saved in a database or an Access File (i.e. of the Sparx Systems Enterprise Architect) shall be displayed on a web page. Approach Create a new ASP.NET Webform and name it GetImage.aspx Go … Weiterlesen

Veröffentlicht unter .NET, Access, C#, Datenbanken, MS SQL Server, Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar

Sparx Systems Enterprise Architect: SQL to get all Links with their start and end objects and a tagged value

Problem A SQL statement is needed, that returns a list of all link relations with start and end object name. Additionally a tagged value (here it is called ‚Object identifier‘) should be appended Approach Usage of MDB Plus Solution Note: … Weiterlesen

Veröffentlicht unter Access, Datenbanken, MS SQL Server, Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar

Sparx Systems Enterprise Architect: SQL To get (x,y) Coordinates , width and height of Diagram Objects

Problem A SQL Statement is needed to get the coordinates of Diagram Object like Activities, Classes, Lanes and so on… In this statement only the stereotypes ‚Project Phase‘, ‚Gate‘, ‚Product Maturity‘, ‚Lane‘ of the diagram ‚Product Creation Process‘ will be … Weiterlesen

Veröffentlicht unter Access, Datenbanken, MS SQL Server, Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar

Sparx Systems Enterprise Architect: SQL to get the start / end coordinates of the link connector routing with customized lines

Problem A SQL-Statement is needed (here Access / .eap) that gets all Coordinate-, Routing- and Position information of links in a diagram of the Sparx Systems Enterprise Architect. Approach Data Mining and the Usage of MDB Plus Solution The link … Weiterlesen

Veröffentlicht unter Access, Datenbanken, MS SQL Server, Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar

Sparx Systems Enterprise Architect: Get Composite Diagram by SQL

Problem The menu point „Set Composite Diagram“ allows to create a clickable link to another diagram from objects. Unfortunetly to get the references in SQL (with start and end GUID) is a little bit tricky… Approach Open the .eap (MDB … Weiterlesen

Veröffentlicht unter Sparx Systems Enterprise Architect, SQL | Hinterlasse einen Kommentar