dbTalk Databases Forums  

Column name was not found

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


Discuss Column name was not found in the microsoft.public.sqlserver.dts forum.



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

Default Column name was not found - 08-07-2003 , 04:52 AM






I get the above error when I try and run dts package
saved as vb module - it runs fine as a DTS package on
it's own. It's a simple import of a tab delimited text
file with preceding "create table" execute sql task. I
don't get the same error with the file formatted as csv.
Does vb handle this differently, anyone come across a
similar issue?

thanks

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Column name was not found - 08-07-2003 , 11:35 AM






In article <0d9801c35cc9$a0152cb0$a101280a (AT) phx (DOT) gbl>, Bob
<storeybob (AT) hotmail (DOT) com> writes
Quote:
I get the above error when I try and run dts package
saved as vb module - it runs fine as a DTS package on
it's own. It's a simple import of a tab delimited text
file with preceding "create table" execute sql task. I
don't get the same error with the file formatted as csv.
Does vb handle this differently, anyone come across a
similar issue?

thanks
VB doesn't do anything different, but the VB code is generated and there
may be a bug in the generation routine. This means that the package
built from the VB code may not match the saved package. Try and compare
the code and work out the differences, particularly around the
transforms. Creating a simple test with just one column may help.

You could even write some more VB to load the existing package and
compare it with the one created in code. You could do thing slike
enumerating all tasks, then enumerate all properties checking that they
match.

Another comparison method would be to use VB to build the package and
then save it back to the server. You could then try DTS Compare to show
you differences between the manually built package vs the VB built one.
http://www.red-gate.com/sql/DTS_Compare.htm

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com




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.