When direct database access is unavailable — due to security restrictions, network limitations, or infrastructure constraints — the data model can still be analysed in Visual Expert using DDL (Data Definition Language) files.
These files, generated by a DBA or exported from the database management system, contain the structural definitions of database objects: tables, views, indexes… By importing them into Visual Expert, the tool reconstructs the schema and integrates it into the project analysis, allowing teams to document data structures and their relationships without a direct database connection.
Create text files containing the DDL statements that define the structure of the database. These files typically include statements such as:
CREATE TABLECREATE INDEXCREATE VIEWIn some cases, these scripts may already exist as part of the project resources. If not, a Database Administrator (DBA) can generate them directly from the database.
Once the scripts are generated, place all the DDL files in a folder that is accessible by Visual Expert. This folder will be used as the source from which Visual Expert reads and analyses the database object definitions.
You must add the folder containing the DDL files as a new source of code in your Visual Expert project.
To do this:
For quick reference on adding a source, see the articles below:
When adding the source, choose the source type according to the database used by the application:
This allows Visual Expert to correctly interpret the database definitions contained in the DDL files.
You must declare a dependency between the application source code and the database source so that Visual Expert can link the database objects with the application.
To configure this:
For more guidelines on adding source code and dependencies, refer to: Define Cross-Application Dependencies.
After completing these steps, run the project analysis so Visual Expert can parse the DDL files and integrate the database objects into the project documentation and analysis.