--获得扩展事件的事件 select name,description from sys.dm_xe_objects where object_type='event' order by name --获得各事件的字段 select c.name,c.description from sys.dm_xe_object_columns c inner join sys.dm_xe_objects o on o.name=c.object_name where o.name='sql_statement_starting' --查询谓词 select name,description from sys.dm_xe_objects where object_type='pred_source'