Deploy data changes fails after first table


Author
Message
Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)
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 (205 views, 213.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Charles R Hankey - 17 Years Ago
Charles R Hankey - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Charles R Hankey - 17 Years Ago
StrataFrame Team - 17 Years Ago
StrataFrame Team - 17 Years Ago
Charles R Hankey - 17 Years Ago
Charles R Hankey - 17 Years Ago
Randy Jean - 16 Years Ago
Randy Jean - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Randy Jean - 16 Years Ago
Randy Jean - 16 Years Ago
Randy Jean - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Randy Jean - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                         Can't believe it... you caught me! How do you do that? :P
Ivan George Borges - 16 Years Ago
Randy Jean - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Randy Jean - 16 Years Ago
Charles R Hankey - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Randy Jean - 16 Years Ago
Charles R Hankey - 16 Years Ago
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search