sql - Is it possible Looping in trigger -


my trigger on table affected here:

update table_name set value = @value 

now execute above query means trigger execute now

trigger after update begin . . update table_name set value = @value  . . end 

now 2nd update query execute means again trigger execute or not question.

maybe

in sql server, "direct trigger recursion"

this controlled 2 things

for full details, see create nested triggers on msdn

note loop until @@nestlevel reaches 32


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -