Object dependencies
You can specify whether an SQL command depends upon a DataBlade® module object or upon your SQL. These dependencies determine the sequence of SQL commands in the generated objects.sql script.
BladeSmith generates SQL in the following sequence:
- SQL commands to create objects upon which custom SQL commands depend
- Custom SQL commands
- SQL commands to create objects that depend upon custom SQL commands
The generated SQL scripts register dependencies when the DataBlade module is registered in a database.