I posted this question in the SQL Server forum also, but I'd like to get ideas from this forum too.
I'm working on an asp.net application and I would like to be able to upload a text file to the web server, and then tell sql server to go get the uploaded text file and import it into a new table. After the table has been created and the data imported into sql, the asp.net application will then regain control and work with this new table.
This web app will be running on multiple web servers so I would need to pass along the web server name and also the file location and name.
How can I automate this process? I'm sure I'll need to set up a DTS in sql, but the trick will be passing in the web server name and file location/name from my web app so the DTS knows where to look for the file. Can I do this through a stored procedure? Or is there another way to make it work?
Thanks for any advice!
I'm working on an asp.net application and I would like to be able to upload a text file to the web server, and then tell sql server to go get the uploaded text file and import it into a new table. After the table has been created and the data imported into sql, the asp.net application will then regain control and work with this new table.
This web app will be running on multiple web servers so I would need to pass along the web server name and also the file location and name.
How can I automate this process? I'm sure I'll need to set up a DTS in sql, but the trick will be passing in the web server name and file location/name from my web app so the DTS knows where to look for the file. Can I do this through a stored procedure? Or is there another way to make it work?
Thanks for any advice!