OBJECT_NAME(stx.objectid, stx.dbid) AS object_name, SUBSTRING (stx.[text],(eqs.statement_start_offset ... AS pl CROSS APPLY sys.dm_exec_sql_text(eqs.sql_handle) AS stx WHERE pl.query_plan not like '%OBJECT_SCHEMA_NAME (stx.objectid, stx.dbid) %' and ...
OBJECT_NAME(stx.objectid, stx.dbid) AS object_name, SUBSTRING (stx.[text],(eqs.statement_start_offset ... AS pl CROSS APPLY sys.dm_exec_sql_text(eqs.sql_handle) AS stx WHERE pl.query_plan not like '%OBJECT_SCHEMA_NAME (stx.objectid, stx.dbid) %' and ...