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.
Author |
Topic |
lizak
Starting Member
12 Posts |
Posted - 2005-06-22 : 16:31:13
|
I've used DTS before without any problems but my latest task isn't as simple as it first appeared:I've been given a specific CSV file layout and told to populate it from our existing data.Source 1 is an Excel spreadsheet that is generated from a third party software package. I can't change it.Source 2 is a third party Access database that contains a table containing an ID and description. The ID is one of the columns in Source 1. I will use it to get the corresponding description. I can't change anything here either.It seems like DTS would be a good fit. Define the Excel and Access data sources, create a lookup, and export to the CSV. The problem is I can't seem to find a way to define the CSV destination columns. I need to add a couple of columns but I seem to be limited to the original Excel spreadsheet definition. I'd like to stay away from creating any additional tables on a database anywhere if I don't have too (but will if needed).I've spent almost a day trying to figure this out. Wanting to add additional columns to the outgoing CSV doesn't seem all that odd of a request but then I don't see any answers on how to do it either. Have I completely missed something? |
|
elwoos
Master Smack Fu Yak Hacker
2052 Posts |
Posted - 2005-06-23 : 03:49:04
|
Sounds to me as though you need staging tables. Pull the data into those and do what you need before you exportsteveAlright Brain, you don't like me, and I don't like you. But lets just do this, and I can get back to killing you with beer. |
 |
|
|
|
|