Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我如何做到这一点?
它看起来像一个设置。
请帮忙!
CREATE TRIGGER trgAfterDelete ON <yourFirsttable> AFTER DELETE AS select @blah = <yourCol1>, @blih = <yourCold2> from deleted; insert into <YourSecondTable>(..., blah, blih) values(..., @blah, @blih); GO