when we want to create a trigger for delete operation on any table we can do it as shown belowand by useing "FROM deleted" as we did in our example ("SELECT stor_id FROM deleted") we can access the ID of record which just deleted and trigger got fired.CREATE TABLE storesmaster( stor_id char(4) NOT NULL, stor_name varchar(40) NULL, stor_address varchar(40) NULL, city varchar(20) NULL, ) GOinsert storesmaster values('1','B','567...
