Idea Summary
When Generating SQL code in Quick SQL, it would be nice to calculate table dependencies and generate first, tables without dependencies, then generate the tables with dependencies in an order that any referenced table is created before the table that is referencing them will be created. That way when the user creates a large model and run the generated script, it will not break because a table that is needed is not there “yet”.
Use Case
Quick SQL is a very powerful tool. Development time is decreased drastically and the accuracy of triggers and packages is guaranteed!
I have developed a medium size model (62 tables). Every time it regenerates the SQL the order of the tables is different as a result it is rather impossible to run the script 100% correctly.
I have to manually put the create table statements in order, to allow the script to run!