Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EXEC %%System().FireTrigger

Tags:

sql-server

I was just wondering what is this?

EXEC %%System().FireTrigger(ID = 225, ID = 102, ID = 0, ID = 0, Value = @server,
ID = -1, ID = 0, ID = 0, Value = NULL, 
ID = 7, Value = @server, Value = @srvproduct2, Value = @provider, Value = @datasrc, Value = @location, Value = NULL, Value = @catalog)

I have been trying to look for it in mssql but I cant find it, what does it mean? I know EXEC is used to execute stored procedure, but what is %%System()?

and what is FireTrigger? is it an embedded command in the system? external dll? been trying to Google it but it seems to be vague at the moment.

like image 431
rfpdl Avatar asked May 02 '26 17:05

rfpdl


1 Answers

This is an internal mechanism that is sometimes exposed but you can't call it yourself and it is undocumented.

like image 99
Aaron Bertrand Avatar answered May 04 '26 14:05

Aaron Bertrand



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!