Hello, I am using version 7, not sure which service pack...
I have a table such as a simple "client" table with the "normal"
fields such as client_id, client_name, client_whatever.
In addition, I have an "audit" table, which is used to record changes
to the "client" table.
This is done through an UPDATE trigger on the "client" table.
To make explanation of the problem very simple, lets assume for now
that the "audit" table only shows "client x was updated today."
The problem is, when I do an sql UPDATE statement that affects
multiple clients, all clients are correctly modified, BUT only ONE of
them actually fires the trigger, thus creating ONE entry in the
"audit" table.
EXAMPLE:
update clients set client_rate = 5 where client_type = 2
That statement would change the rate on 3 of my clients in the clients
table, but only one entry would be made in the audit table.
I need 3 entries in the audit table for the above situation. Please
help me if you can!
Travis Laborde