spaghettiGurl
Programmer
Hi,
I've been pulling out my hair trying to solve this problem. I have a .mdb (access database) that I want to import to SQL Server using DTS. This in itself works. The tricky bit is coming. I want to test that the file is there (this works), import the data (this works) and then rename the imported file (This doesn't work).
I've done everything I could think of from using ReleaseConnection, calling another process to do it, even renaming the existing connections, but for some reason the connection to the .mdb file doesn't not drop until the package has fully run.
Other than running a seperate package/task after this one is complete to delete/rename the file is there anyway I can get the dts package to relinquish it's hold on the Access Database that I've imported? Sorry, I hope this makes sence but I'm desperate to get this working and any help would be very appreciative!
I've been pulling out my hair trying to solve this problem. I have a .mdb (access database) that I want to import to SQL Server using DTS. This in itself works. The tricky bit is coming. I want to test that the file is there (this works), import the data (this works) and then rename the imported file (This doesn't work).
I've done everything I could think of from using ReleaseConnection, calling another process to do it, even renaming the existing connections, but for some reason the connection to the .mdb file doesn't not drop until the package has fully run.
Other than running a seperate package/task after this one is complete to delete/rename the file is there anyway I can get the dts package to relinquish it's hold on the Access Database that I've imported? Sorry, I hope this makes sence but I'm desperate to get this working and any help would be very appreciative!