PowerDesigner - Assign a TriggerTemplate to a trigger through VBScript?

我与影子孤独终老i 提交于 2021-01-29 06:11:02

问题


In PowerDesigner v12, how would one, through use of VBScript, assign a TriggerTemplate to triggers that are missing the definition?

We have a script now that can loop through the triggers and display the triggertemplate (if it has one), but all attempts to assign a template to these triggers have failed.

Any insight would be greatly appreciated!

Can someone with power edit this and add 'powerdesigner' as a tag? I can't do it.

Thanks, Calvin


回答1:


I may have found an answer, but I want to get other input on it.

While I cannot get a reference to the TriggerTemplates that are part of the DBMS, the model itself can have its own TriggerTemplates. These model based templates can be referenced and assigned to the triggers as needed.

My thoughts were to actually create copies of the DBMS templates inside the model, and use those instead.

Thoughts?



来源:https://stackoverflow.com/questions/928637/powerdesigner-assign-a-triggertemplate-to-a-trigger-through-vbscript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!