script generated by DTS causes the package to fail
From: Rocio (rocio.katsanis_at_softwareservices.net)
Date: 02/27/04
- Next message: Sue Hoegemeier: "Re: Export Data to PDF (How to?)"
- Previous message: Brad: "Re: Step name incorrect in DTS Exception file"
- Next in thread: Darren Green: "Re: script generated by DTS causes the package to fail"
- Reply: Darren Green: "Re: script generated by DTS causes the package to fail"
- Messages sorted by: [ date ] [ thread ]
Date: 27 Feb 2004 12:09:06 -0800
This is weird.
I wrote a simple DTS package to copy a server Database to a laptop
database.
The program runs fine, but after probably 1 hour of running (this is a
big db), it fails with the message:
ALTER TABLE statement conflicted with COLUMN FOREIGN KEY constraint
'FK_Parcel Item Image_Image'. The conflict occurr in db....., table
'Image' column 'ImageID'
now all the scripts to copy the database are generated by DTS itself,
I do not have control of this particular ALTER TABLE statement, what
can I do to solve it?
These are the parameters I use to copy the database:
Create destination objects (tables, views, stored procedures,
constraints, etc.)
Drop destination objects first
Include all dependent objects
Include extended properties
Copy Data
Replace Existing data
Use Collation
Copy all objects
In Options I setup:
Copy database users and database roles
Copy SQL Server Logins (Windows and SQL Server Logins)
Copy object-level permissions
Copy indexes
Copy triggers
Copy full-text indexes
Copy PRIMARY and FOREIGN keys
Use quotes identifiers when copying objects
any ideas on how to solve this?
- Next message: Sue Hoegemeier: "Re: Export Data to PDF (How to?)"
- Previous message: Brad: "Re: Step name incorrect in DTS Exception file"
- Next in thread: Darren Green: "Re: script generated by DTS causes the package to fail"
- Reply: Darren Green: "Re: script generated by DTS causes the package to fail"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|