Generating SQL scripts
The SQL generation function produces SQL script files, which, from logical objects of your HOPEX repository (database, table, column, etc.) allow you to create, modify or update the corresponding objects in the target DBMS of your choice.
Generation takes into account parameters inherited from the target DBMS (specified for the database), parameters that you can customize at a global level (see Configuring Database Generation) or at a more detailed level, on a column or primary key for example.
For the main target DBMSs on the market, the database editor makes accessible a "physical view" that allows you to optimize the SQL grammar of generated scripts in order to integrate technical options specific to the selected DBMS, such as partitioning. See Adding Physical Properties to Database Objects.
Finally, logical level can be completed by generation of physical objects specific to each database for a DBMS, such as logical views, stored procedures and triggers.
The different generation modes presented below take into account the constraints linked to database administration under different systems with maximum flexibility.