![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I have a package that import several text files. What I need to do is check for related records as I import the files. (i.e. cust# in order table exists in the customer table), if there is an error, I need to create a report and email it. I can use the lookup function (I assume) to check for the existance of the related record, but how do I create the email? Should I create an excel spreadsheet with the records in error and attach it to the email? Thanks |
#5
| |||
| |||
|
|
You can explore the following options: a) If you need records for further analysis, the best way would be to create the details in an excel file. Store it on a centralized folder on the server. b) For sending email, you can either use SQL Mail or explore other options mentioned in the article below: http://support.microsoft.com/default...312839&sd=tech This email sending could be scheduled to run at specific time intervals or a SP can be written to activate this email program whenever the error occurs. Hope that helps. sanchans (AT) online (DOT) microsoft.com This posting is provided "AS IS" with no warranties, and confers no rights. |
![]() |
| Thread Tools | |
| Display Modes | |
| |