Advertisement

10.18.2007 at 11:24AM PDT, ID: 22902590
[x]
Attachment Details

Insert Error on SQL DTS Import

Asked by SasDev in MS SQL Server, MS SQL DTS

Tags: SQL, DTS

DTS Package
SQL Server 2000 (Working with Test Database)
Pump Data From: StageFactCustSales to FactCustSales
Problem field: CustomCategoryDesc varchar(25) NOT NULL

I have a very large dts package that fails during the data pump step. It takes data from stage tables and imports them into fact tables.
The tables are identical except the stage table does not have an identity defined whereas the fact table does. Here is the error I am receiving:

Error Source:  Microsoft OLE DB Provider for SQL Server
Error Description:  The number of failing rows exceeds the maximum specified.
Insert error, column 26 ('CustomCategoryDesc', DBTYPE_STR), status 10: Integrity violation; attempt to insert NULL data or data which violates constraints.
Unspecified error

The source data (StageFactCustSales) in the CustomCategoryDesc field does not have any <NULL> values, it does have empty values though (where CustomCategoryDesc = ""). To my understanding empty strings are not considered NULLS (correct me if I'm wrong).

Lord knows I've been searching to see if anyone else has had the same problem and how it was resolved. I have only found one other similar issue; however it was regarding an identity column and this is not the same instance since CustomCategoryDesc is not an identity column.

**We even had a contractor come in and spent 8 hours trying to discover our problem to no avail. And yes, he still made $85 an hour.
Kudos to anyone who can offer suggestions!

-- Traci


Start Free Trial
[+][-]10.18.2007 at 11:31AM PDT, ID: 20103368

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 11:32AM PDT, ID: 20103384

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 11:33AM PDT, ID: 20103397

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 11:44AM PDT, ID: 20103508

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 11:45AM PDT, ID: 20103515

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 11:52AM PDT, ID: 20103589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 12:51PM PDT, ID: 20104078

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 12:54PM PDT, ID: 20104106

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 12:56PM PDT, ID: 20104128

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 01:38PM PDT, ID: 20104446

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 03:46PM PDT, ID: 20105300

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.08.2007 at 12:07PM PST, ID: 20244621

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2007 at 07:05AM PST, ID: 20457418

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS SQL Server, MS SQL DTS
Tags: SQL, DTS
Sign Up Now!
Solution Provided By: SasDev
Participating Experts: 4
Solution Grade: B
 
 
[+][-]12.13.2007 at 10:47AM PST, ID: 20466488

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]12.13.2007 at 12:15PM PST, ID: 20467236

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906