|
Posted by BigJohnson on 10/01/45 11:29
I'm trying to use DTS to import data from an XLS into a SQL table.
It works fine in that it INSERT's the data. However, I need it to
UPDATE the table, based upon a ProjectID. Can this be done?
Can a DTS package be fired from a SP using parameters?
Eg UPDATE tProjects SET MyField1=XLS.Sheet1.CellA1,
MyField2=XLS.Sheet2.CellA1 WHERE ProjectID = @ProjectID.
Also, it must handle dynamic XLS file names, eg 981-Budget.xls,
513-Budget.xls, xyz-Budget.xls
Is this the best way to go? Other suggestions most welcome?
Thanks everyone in advance!
Navigation:
[Reply to this message]
|