dbTalk Databases Forums  

DTS package *sometimes* can't find column during copy transform

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS package *sometimes* can't find column during copy transform in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael
 
Posts: n/a

Default DTS package *sometimes* can't find column during copy transform - 09-01-2006 , 12:36 PM






Hello,

I have a DTS package that I have created to move data from an Informix
database to a SQL Server 2000 system. I'm using ODBC for the link to
Informix. My SQL Server 2000 is SP4 - "Microsoft SQL Server 2000 - 8.00.2039
(Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft
Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack
1)"

The DTS package is scheduled to run hourly. More often that not, there is a
specific copy transform that fails, copying the contents of one table in
Informix to a staging table in SQL Server. There are actually five tables
that are copied at once, and I typically have this problem with one or two of
them, but not the others.

The problem is this: mostly, but not always, the copy transform fails with a
column not found error. It's always the first column in the select statement.
I decided I didn't really need that column and removed it from the select
statement, and then it would fail because it couldn't find the second column
in the select statement. But 30% of the time it runs fine with no changes
whatsoever to the package.

The exact errors are these:

- when the package is being run, "1 task(s) failed during execution."
- when double clicking on the step with the red X, "Column name 'theColumn'
was not found."

Why is this running so inconsistently?

Thanks.

- Michael




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.