Hi,
Is it possible to have one trigger that operates on both stetement level and row level?
Example
STATEMENT LEVEL:
check config table for auditing level
ROW LEVEL
IF auditing level is on THEN
Create audit record for each row
If not, is there a standard practice to achieve this? Checking the config table on each row is having a drastic performance impact.
The above trigger would be on AFTER UPDATE, INSERT or DELETE.
Thanks in advance,
Graeme
"Just beacuse you're paranoid, don't mean they're not after you
Is it possible to have one trigger that operates on both stetement level and row level?
Example
STATEMENT LEVEL:
check config table for auditing level
ROW LEVEL
IF auditing level is on THEN
Create audit record for each row
If not, is there a standard practice to achieve this? Checking the config table on each row is having a drastic performance impact.
The above trigger would be on AFTER UPDATE, INSERT or DELETE.
Thanks in advance,
Graeme
"Just beacuse you're paranoid, don't mean they're not after you