Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 DTS ERROR

Author  Topic 

tomailvenky
Starting Member

7 Posts

Posted - 2010-05-11 : 08:31:32
Hi Everyone

I have little problem designing a dts package. Scenario is this ,I receive 54 text files in different timings daily so that we have to import data from a

directory every one hour where another application done in unix creates text files. So we have a package to be executed every one hour goes check in that

directory if new text file came then import that file into sql server.The files are named like NAME01YYYY-MM-DD.txt.So in DTS package I have 54 braches

(dynamicpropertiestask-->Text(source)-->TransformDataTask-->ConnectionProperties) to read & pump text files data into sqlserver DB. Now the requirement is I

have to design one more branch for new text file (i.e., 55 text file).

In dynamic property task how to set global variables for Connections,Text File (Source),OLEDBProperties,Data Source,Properties,Value?
By seeing existing dynamic properties task I am unable to follow.
I set up a dts package with dynamicpropertiestask,globalvariables,execute sql task, transform data task.
DTS is running fine for the default saved text source file only. When I run dts and put in different text files unable to load.
I know this might enough information. please help me it is really urgent.

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-05-11 : 08:38:14
duplicate - no triple post:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=144375


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -