It should be implemented in next Beta. So, I’d like to ask you for patience.
At the moment, our developers are very busy resolving issues on memory consumption, which has high priority. Unfortunately, we need their help to be able to make the documentation on the customization of script generation. So, after they finish their tasks, we will make the documentation and movie on how to customize the scripts.
Thanks for your patience again.
Unfortunately, at the moment, I’m not able to tell you when exactly it is released.
For now, we can write you a quick way how to make the change in system package/system script. With the patch installation then, the system package will be overwritten by the new system package where the fix will be included.
Would this be acceptable for you?
For now, we can write you a quick way how to make the change in systempackage/system script. With the patch installation then, the systempackage will be overwritten by the new system package where the fixwill be included.
Would this be acceptable for you?
Find a location where you store system packages. Default location:
C:\Program Files\Quest Software\Toad Data Modeler 3\Packages\System
Find the package GenerationsOR.txg.
In the package properties, disable the Read Only property.
Launch TDM3 and open Script Explorer (Tools menu).
In the Script Explorer, Generation folder, find the PERCodeGeneratorOR script and double-click it to open it in Script Editor.
Find function CreateTrigger.
In the CreateTrigger function, replace this line:
text = "CREATE "
with this text:
text = "CREATE OR REPLACE ";
Press Commit to save the changes in the script.
Make the same change in function CreateTriggerView.
Now you can generate the script to see the changes.
If you like to save the changed script in the package, open the Package Explorer, select the package and save it. (Or simply close TDM3, the package will be saved automatically.)
If you have any questions, please feel free to write us back. Thanks.
Any information on addressing the initial problem? I’m also trying write my own Generations package that will override the way DDL is generated for SQL Server 2005. I want to include addtional extended properties.