with QS as( select cp.objtype as object_type, /*类型*/ db_name(st.dbid) as [database], /*数据库*/ object_schema_name(st.objectid,st.dbid) as [schema], /*架构*/ object_name(st.objectid,st.dbid) as [object], /*对象名*/ ),qs.creation_time,) as plan_creation, /*计划…