troubleshooting Question

SQL Server DTS importing multiple CSV files.

Avatar of prgMan
prgMan asked on
Microsoft SQL Server
9 Comments1 Solution2615 ViewsLast Modified:
We are using: SQL Server 2000 DTS....

I am trying to import 3 csv files into a table, each spreadsheet contains that years invoices.  So there is 2007revenue, 2008revenue.csv, 2009revenue.csv

Each CSV file contains:
- projectID: primary key
- jan_revenue
- feb_revenue
- mar_revenue
and so on.

The table contains:
- projectID: primary key
- yr07_jan
- yr07_feb
- yr07_mar
....
- yr08_jan
- yr08_feb
- yr08_mar

I am able to import the initial CSV file without a problem.  But:

1) How do I use multiple connections?  I tried to put them on the screen but then they won't attach to the flow, they generate an error.

2) The 2nd and 3rd connections are updates to the projectID line as opposed to insert.  I'm not sure how to do an update in a DTS package.

Thanks in advance!
ASKER CERTIFIED SOLUTION
D B
Database Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros