MS SQL 2005 DTS Trouble...

Please support our MS SQL advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2005
Posts: 11
Reputation: Athersgeo is an unknown quantity at this point 
Solved Threads: 0
Athersgeo Athersgeo is offline Offline
Newbie Poster

MS SQL 2005 DTS Trouble...

 
0
  #1
Jun 23rd, 2009
(And before anyone points it out; I know they're not calling it DTS any more!)

My problem is as follows: Whenever I go to import a flat file using the DTS import it's setting the default column sizes to be ludicrously small (50 characters) and it doesn't subsequently matter HOW I define the table I'm pulling the data into, it chokes until I correct it.

One (obvious) way round this would be to save the package and go from there. Unfortunately, because of the nature of the files, this isn't all that practical (because this is going to be an issue across a good 10 or 15 different databases).

Is there a way of getting SQL to up its default settings so that I can go back to controlling column size on the table only? Or am I SOL?
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,187
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: MS SQL 2005 DTS Trouble...

 
0
  #2
Jun 23rd, 2009
I'm pretty sure you're SOL. I do a lot of DTS intensive work and I have clients install SQL 2000 so i can use DTS to import data destined for SQL 2005. I don't like what they did to DTS either.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 143
Reputation: cutepinkbunnies is an unknown quantity at this point 
Solved Threads: 8
cutepinkbunnies's Avatar
cutepinkbunnies cutepinkbunnies is offline Offline
Junior Poster

Re: MS SQL 2005 DTS Trouble...

 
0
  #3
Jul 4th, 2009
Hi Athersgeo,

Believe it or not, this is a feature of SSIS. The best way to handle flat file importing is mapping the flat file connection EXACTLY the way the file is mapped and configuring the source to perform how you want it to when anything different presents itself (failure on truncation etc).

You can easily fix this issue by mapping the file connection and updating the metadata within your dataflow. Once the file uses the correct metadata it will update the rest of the respective tasks that deal with that data. Sometimes I don't like doing it by clicking on the task in question and choosing update, so most times I just re-drag and drop the task flows (the little green and red arrows).

Hope this helps!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC