1.

DDL Trigger can capture the information about the EVENT that fired it by using __________ function.(a) EVENTDATA()(b) EVENT()(c) EVENTS()(d) None of the mentionedI had been asked this question in unit test.The query is from Schema Audit topic in portion Monitoring and Auditing of SQL Server

Answer»

The correct option is (a) EVENTDATA()

To elaborate: The EventData xml value includes the TRIGGERING SQL STATEMENT, the event time, the type of event and DEPENDING on what type of event was CALLED, extra INFORMATION such as the database name.



Discussion

No Comment Found

Related InterviewSolutions