Does anyone know what the SQL Server trace Event ID or Event Name for Create Index is or where I could find the answer? I suspect it is ‘Alter User Table’ but I need to be certain.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Profiler, what you want is in Objects ->
Object:Created. This will show any DDL events. Then, in the column filters set theLikefilter on theTextDatacolumn toCreate Index%.For a trace, you want the
Object:Createdevent (eventId = 46). So something like: