StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


12»»

Database Deploymen Toolkit Failing to change...Expand / Collapse
Author
Message
Posted 02/01/2008 11:23:18 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 04/07/2008 12:19:07 PM
Posts: 7, Visits: 35
We have an ERP software package with a number of database definiitons that we are hoping to correct. We're trying to use the Database Deployment Toolkit to deploy new definitions to our legacy databases used in the field by our customers.  Our first attempt at converting the database schema to an updated schema has not been very sucessful.  Primarily, one of the issues that is trying to be corrected is converting PK datatypes from Decimal(10,0) to Int.  It appears based on the log error messages that the PK constraints are not dropped prior to the type change being applied. 

Is this something that the tool is meant to support?

Thanks,

Aaron

Post #13932
Posted 02/01/2008 1:19:54 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
Generally databases that have been updates with the DDT were initially created with the DDT...however, what you are attempting to accomplish can be done, but there are limitations (even in SQL Server) when converting certain data types from one to another.  I would have to setup the Decimal to Int scenario to see if this produces any type of error.  In some cases SQL Server Management Studio does some "smoke and mirrors" to convert certain things versus just relying on SMO.  But in response to dropping the contraints, we actually do this so that PKs and structure changes can take place.  So this would really be a matter of us getting our hands on your existing structure and the package file so that we can see what is actually going on and if there is something that we can do in the deployment phase to take some unique circumstance into account.
Post #13941
Posted 02/01/2008 1:45:40 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 04/07/2008 12:19:07 PM
Posts: 7, Visits: 35
How do we go about getting this to you (sorry, newbie here)?  What do you require the Package definition and a backup of the legacy database to be converted?

Thanks, Aaron

Post #13948
Posted 02/01/2008 1:53:39 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
You can just post it as an attachment here on the forum if you are comfortable with that.  If not, then just PM (Private Message) me and send it to me that way.  Just package up the legacy database as a backup or mdf and then include your PKG file as well.
Post #13951
Posted 02/01/2008 2:47:04 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 04/07/2008 12:19:07 PM
Posts: 7, Visits: 35
Here is the pkg file.

  Post Attachments 
DOSRun14.pkg (2 views, 659.17 KB)
Post #13954
Posted 02/01/2008 3:00:03 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 04/07/2008 12:19:07 PM
Posts: 7, Visits: 35
Here is a backup of the SQL db.
Post #13955
Posted 02/01/2008 3:29:03 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
You did not attach your SQL Server backup.
Post #13956
Posted 02/01/2008 3:30:38 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 04/07/2008 12:19:07 PM
Posts: 7, Visits: 35
I have tried to attach both a .rar and .zip but the browser keeps timing out. I will try and send it to you via PM.
Post #13958
Posted 02/01/2008 5:07:29 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
Sounds good.
Post #13963