rkiss
08-25-2004, 09:55 AM
Hi,
I have a stored procedure that monitors daily data (insert data into monitoring table, compares two tables) I would like to add the following functionality to the stored procedure.
1. If specific data exists in one table, but not in the other one, the current monitoring just totals the number of missing records. I would like to add the ability to store missing records in another monitoring table.
I do not know how to call this trigger: if specific field is 0 get/insert missing records to another table. Any help/ideas are appreciated.
Thank you
Roman
I have a stored procedure that monitors daily data (insert data into monitoring table, compares two tables) I would like to add the following functionality to the stored procedure.
1. If specific data exists in one table, but not in the other one, the current monitoring just totals the number of missing records. I would like to add the ability to store missing records in another monitoring table.
I do not know how to call this trigger: if specific field is 0 get/insert missing records to another table. Any help/ideas are appreciated.
Thank you
Roman