BTW, just to give back a little...
If you are processing many textfiles from a single DTS package, the following modification to JohnDTampaBay's post works like a charm... You should only have to change the items in red
Function Main()
Dim goPackage
Dim objFSO
Dim objFolder...
You prefaced the name with dbo, so perhaps the developer that created it didn't create it as dbo.tmpFileExtract_Debit_forBryant, but rather as
developer.tmpFileExtract_Debit_forBryant. When you drop and recreate the table, it will recreate as dbo since you are a sysadmin.
Does anyone know how to (easily) get the # of records transferred in a datapump task (similar to what is returned in the execution window). I would prefer to be able to return the value into a Global Variable. I can't run the DTS packages from VB code, however. Any help along these lines...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.