i have a DTS job that takes data from 3 "temporary" tables and inserts it into one of 3 permenant tables (after doing some transorfamtion and verification of the data). The job is scheduled to run daily, what i would like to do is when the job runs for a record to be inserted into a "audit" table detailing the number of records imported the date they were imported and which table imported from and which table inserted into.
I know i could do this with a trigger on each of the permenant tables but this would only work if something was actually inserted and there may be days when no records are imported and on these days i would like to be able to see a "0" entry.
Can anyone point me in the right direction?
Cheers, Craig
Si fractum non sit, noli id reficere
I know i could do this with a trigger on each of the permenant tables but this would only work if something was actually inserted and there may be days when no records are imported and on these days i would like to be able to see a "0" entry.
Can anyone point me in the right direction?
Cheers, Craig
Si fractum non sit, noli id reficere