![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have three related questions. 1. I am trying to import about 30 tables from one SQL 2005 database to another. However, whenever I do so, I get one of two errors: ERROR : errorCode=-1073548784 description=Executing the query "TRUNCATE TABLE [knowledge_website].[dbo].[tblCategory] " failed with the following error: "Cannot truncate table 'knowledge_website.dbo.tblCategory' because it is being referenced by a FOREIGN KEY constraint.". For this error, it seems to be copying tables in the wrong order. I remember this bug from SQL 2000 which was fixed in an early service pack, so I don't get why this problem occurs in 2005. How can I change the order in which the tables are copied so as not to cause any foreign key constraint errors? 2. If I exclude the tables that are causing the problem, I then get the error below: ERROR : errorCode=-1071636471 description=An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Unicode data is odd byte size for column 5. Should be even byte size.". However, as usual with SQL Server error messages, it is impossible to tell from the error message what the cause of the error is. Ie which table or column is causing the error. How can I find out what this error message means and why it's happening? 3. Where is the SSIS package designer? I cannot find it anywhere or anything that lets you edit DTS packages. In 2000 this was under "DTS packages" and was easy to find. Thanks, Nick Gilbert |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |