Streamline your flow

Sql How To Use Update Trigger To Update Another Table Stack Overflow

Sql Server Using Update Trigger To Update Another Table Stack Overflow
Sql Server Using Update Trigger To Update Another Table Stack Overflow

Sql Server Using Update Trigger To Update Another Table Stack Overflow I am new to triggers and want to create a trigger on an update of a column and update another table with that value. i have table1 with a year column and if the application updates that year column i need to update table 2 with the year the same year. Your trigger doesn't update anything, you should join employee backup and inserted tables and update affected rows only. create trigger updemployeebackup on employee after update as begin update eb.

Mysql Trigger Update Another Table Stack Overflow
Mysql Trigger Update Another Table Stack Overflow

Mysql Trigger Update Another Table Stack Overflow Using sql directly, it looks like the best way to do this is a trigger. i've come up with a rough approximation (below) of what this might look like, but wanted to get some input before i went too much further with it. on tablea. after insert as . if inserted.field5 = 'abc' update [tableb] set [field3] = 'hello world' where .

Sql How To Use Update Trigger To Update Another Table Stack Overflow
Sql How To Use Update Trigger To Update Another Table Stack Overflow

Sql How To Use Update Trigger To Update Another Table Stack Overflow

Comments are closed.