DDT Erasing Existing Database's Trigger


Author
Message
Jim Keansuai
Jim Keansuai
StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)StrataFrame Beginner (5 reputation)
Group: Forum Members
Posts: 1, Visits: 1
Hi all, Jim here.



Currently i having an issue while upgrading the existing database by DDT. Existing database containing trigger that not created by DDT. Now after i install DDT supposed to only modify the structure of database by without removing the existing trigger.

I had checked the DDT, inside do not contains any new trigger/ any history on deleting the trigger. Do i have miss out any setting i can do?



Does anyone can provide some guideline on the this issue?



Thanks a lot.
Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
In short, the SPROCS and VIEWS already have this logic implemented.  When a SPROC or a VIEW is created through the DDT a database property is assigned to the code element in question that designates that the SPROC was deployed with the DDT.  The triggers, on the other hand at the moment, will be cleared out and re-deployed.  This is due to dependencies.  However, this has already been added to the list and will be in a near update.  My recommendation, however, would be to ensure that all of the trigger in which you need to support at the moment are part of your meta-data so that they are recreated as part of the deployment.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search