﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Database Deployment Toolkit (How do I?)  » DDT Question on Deployment</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 19 May 2026 13:08:14 GMT</lastBuildDate><ttl>20</ttl><item><title>DDT Question on Deployment</title><link>http://forum.strataframe.net/FindPost32612.aspx</link><description>&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;p style="margin: 0in 0in 0pt;"&gt;&lt;font color="#000000" face="Calibri" size="3"&gt;If I have 7 tables, 2 views and some stored procedures and a few functions. Iwant to add these to an existing database with different table names,different view names and different procedure names, different function names. Will the DDT package leavethe existing tables, views and procedures not defined in the package alone in the existing database? Orwill it delete them? If the default is to delete them, how do I change the default?&lt;/font&gt;&lt;/p&gt;&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;</description><pubDate>Wed, 04 Jun 2014 08:52:34 GMT</pubDate><dc:creator>Ross L Rooker, Sr.(1)</dc:creator></item><item><title>RE: DDT Question on Deployment</title><link>http://forum.strataframe.net/FindPost32613.aspx</link><description>The tables will merge, but the views, sprocs, and functions will be overwritten. &amp;nbsp;The DDT puts an extended property on the sprocs, functions, and views that it deployed, so the DDT knows it can delete them. &amp;nbsp;If you remove the extended property (called "DDT_Priority"), then the DDT will leave the old objects alone, assuming that an end-user added them to the database. &amp;nbsp;However, when you go back to run the old DDT package, you'll need to swap over the DDT_Priority objects to the objects you want to overwrite. &amp;nbsp;It can be done, but there would be some scripting involved to mark/unmark the objects you want to replace.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;To script the extended properties: Check out 1) sys.fn_listextendedproperty, the UDF that retrieves the properties 2) sys.sp_addextendedproperty, sproc that adds extended properties 3) sys.sp_updateextendedproperty, sproc that updates the value on an existing property, and 4) sys.sp_deleteextendedproperty, sproc that removes an extended property</description><pubDate>Wed, 04 Jun 2014 08:52:34 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>