StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Database Deployment Toolkit
»
Database Deployment Toolkit (How do I?)
»
Deploy data changes fails after first table
Deploy data changes fails after first table
Post Reply
Like
2
Deploy data changes fails after first table
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Charles R Hankey
Charles R Hankey
posted 18 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 524,
Visits: 30K
I created a profile from my VFP database and successfully deployed all these tables into a SQL Server 2005 database, including a PK and default value of NEWID() on the field CID ( UID )
There are about 100 tables, all have a pk named CID
As a test of my understanding of the DDT, I added a timestamp to the first 5 tables in the profile ( Timestamp datatype Timestamp NULL )
I did not see any option for only deploying some tables so I answered yes to create a package and deployed to server.
It appears the timestamp was added to the first table but after that the alter failed saying there was a constraint problem CID already existed ( see screenshot attached. ) and this error was repeated for every table in the database.
Obviously I'm missing a key concept here. Is there a problem with key fields of the same name with DDT or am I doing something else wrong ?
TIA
Attachments
ScreenShot145.jpg
(
295 views,
213.00 KB
)
Reply
Like
2
Replies
Charles R Hankey
Charles R Hankey
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
I completely agree with Randy. This was a tough one because of the somewhat strange behavior of SQL server itself. Very impressive that Microfour was able to resolve this so quickly.
I think DDT is a very significant tool and it just keeps getting better !
Reply
Like
1
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Thanks for your comments, guys! And glad we got to the bottom of it!
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Deploy data changes fails after first table
Charles R Hankey
-
18 Years Ago
In order to simplify testing I created a new DDT package, creating a...
Charles R Hankey
-
18 Years Ago
Yeah, it sounds like you may not be providing a default value or NULL...
Trent L. Taylor
-
18 Years Ago
Here's the test package
I tried to keep the example simple....
Charles R Hankey
-
18 Years Ago
OK, here's the deal, the default constraint was never being added the...
StrataFrame Team
-
18 Years Ago
I guess it would help if I posted the attachment, right?
StrataFrame Team
-
18 Years Ago
Ben
Thank you [u]very [/u] much. This particular bug was...
Charles R Hankey
-
18 Years Ago
:D
Worked like a charm. This is a very impressive tool....
Charles R Hankey
-
18 Years Ago
I am having the same issue with defaults. I have the same field name...
Randy Jean
-
17 Years Ago
Hold on... I missed copying the updated dlls to my GAC I think... Let...
Randy Jean
-
17 Years Ago
Hmmmm.....give it a shot because I don't think that you are having a...
Trent L. Taylor
-
17 Years Ago
Well, I couldn't wait so I remoted in to my box at the office, copied...
Randy Jean
-
17 Years Ago
Just tried again and still getting name conflicts.
Would...
Randy Jean
-
17 Years Ago
I take that back about the PK defaults working correctly. I dropped...
Randy Jean
-
17 Years Ago
I think that you are mistaken on how we set defaults. We do in fact...
Trent L. Taylor
-
17 Years Ago
This is not a permissions issue. And again, the PKs indexes are OK...
Randy Jean
-
17 Years Ago
Just FYI for those reading this post, there were issues with the...
Trent L. Taylor
-
17 Years Ago
Can't believe it... you caught me! How do you do that? :P
Ivan George Borges
-
17 Years Ago
Trent is trying to help me but we don't seem to be getting to the...
Randy Jean
-
17 Years Ago
What are you defining as a PK field here...that could be the problem...
Trent L. Taylor
-
17 Years Ago
As I mentioned to you before the missing PK's in that database was a...
Randy Jean
-
17 Years Ago
I've taken a lot of interest in this thread since I'm very interested...
Charles R Hankey
-
17 Years Ago
Don't worry abou the video, we made a change to the DatabaseMigrator...
Trent L. Taylor
-
17 Years Ago
Thanks Trent!
For any lurkers there was some difficulty...
Randy Jean
-
17 Years Ago
I completely agree with Randy. This was a tough one because of the...
Charles R Hankey
-
17 Years Ago
Thanks for your comments, guys! And glad we got to the bottom of it!...
Trent L. Taylor
-
17 Years Ago
Post Reply
Like
2
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search