I have a table where records get imported and I have a few more fields that need to be calculated. Some fields are dependant on the resulting calculation of other fields.
I started with Stored Procs but the procedure would run against the whole table. So as someone suggested, I created triggers on the table (Update and Insert).
To me this means the triggers will fire when a record is updated or inserted, and only that record will be affected, right?
Okay, so I have 4 triggers. I get the following error when I add a record to the table:
[blue]ODBC--insert on a linked table 'dbo_MyTable' failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32).(#217)[/blue]
I've looked up the error but I don't understand what I am reading.
I started with Stored Procs but the procedure would run against the whole table. So as someone suggested, I created triggers on the table (Update and Insert).
To me this means the triggers will fire when a record is updated or inserted, and only that record will be affected, right?
Okay, so I have 4 triggers. I get the following error when I add a record to the table:
[blue]ODBC--insert on a linked table 'dbo_MyTable' failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32).(#217)[/blue]
I've looked up the error but I don't understand what I am reading.