--获得扩展事件的事件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 cinner join sys.dm_xe_objects o on o.name=c.object_namewhere o.name='sql_statement_starting'--查询谓词select name,description from sys.dm_xe_objects where object_type='pred_source'
1200字范文,内容丰富有趣,写作的好帮手!