April 6, 2005 at 8:53 am
I am new to SQL Server development, but I use the automated features in Enterprise Manager a lot.
I have a table with a specific format already existing in a SQL Server 2000 database. This is generated once a day from a flat file received from an outside vendor. I am now receiving a similar flat file from another vendor which is nearly identical, but with two differences.
First, the new flat file is missing two columns (not critical data).
Next, there is one column that is out of order in comparison to the other flat file (aside from the 2 missing columns).
I need a generic example of how to remove specific records from a table and add these new ones (from the new flat file) through the SQL Server. My intention is to have a job run at a specific time through the SQL Server.
Any help is appreciated. If you know of a good tutorial or something out there, I would be more than happy to check it out. Thank you so much for your help!
April 7, 2005 at 1:40 am
If I understand it correctly, you want to retrieve certain records from the second flat file and append them to the table populated from the first file.
I would:
HTH
Bill.
April 7, 2005 at 6:07 am
Thank you for your reply. Through much trial and error yesterday, I eventually did something very similar to what you suggested. However, I have it all in a single DTS package.Thank you so much for your reply.
April 7, 2005 at 6:10 am
Books Online is a pretty good source of DTS information. Search under "DTS, transformation issues" to get some specifics to watch for when setting up your process.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply