I have searched and found the last posting on tek-tips at for help with importing Excel data to SQLServer. There was an offer to help write a DTS package. I then followed these instructions; 1. Click the database you want to use, right-click on TABLE and choose 'All Tasks' -> 'Import Data'
but I do not see a value named "All Tasks" when I right click on a table in my SQLServer DB. Is there anyone who can help me figure out 1)How to create a DTS package? 2)Basically I'm trying to import Excel to SQLServer and update tables monthly. I do not want to overwrite the existing data (if I am ever successful in importing the Excel data in the first place), I want to update the table with new information provided in the newly generated monthly Excel spreadsheet. So far I haven't figured out how to do that, but from my research it sounds as if a DTS package could be called from a script (which I did find and have saved with my DB info in it). Bascially it says to create dts package object
pkg = createObject("COM","DTS.Package");
// load package
pkg.LoadfromSQLServer ...but that's not going to work until I actually have a DTS package. Thanks in advance for help with creating a DTS package.
but I do not see a value named "All Tasks" when I right click on a table in my SQLServer DB. Is there anyone who can help me figure out 1)How to create a DTS package? 2)Basically I'm trying to import Excel to SQLServer and update tables monthly. I do not want to overwrite the existing data (if I am ever successful in importing the Excel data in the first place), I want to update the table with new information provided in the newly generated monthly Excel spreadsheet. So far I haven't figured out how to do that, but from my research it sounds as if a DTS package could be called from a script (which I did find and have saved with my DB info in it). Bascially it says to create dts package object
pkg = createObject("COM","DTS.Package");
// load package
pkg.LoadfromSQLServer ...but that's not going to work until I actually have a DTS package. Thanks in advance for help with creating a DTS package.