简体   繁体   中英

a function to find which event occured for a table in Trigger

I have a Trigger . I want have a condition in it, for example IF(INSERT_EVENT OCCURED) then ...

I don't know how write this condition?!

Please see this link:

http://www.sqlteam.com/article/an-introduction-to-triggers-part-i

IF ( INSERT EVENT OCCURRED )

would be

FOR INSERT AS

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM