Quantcast
Channel: Substring In Sql | Automatic Website Traffic RSS
Viewing all articles
Browse latest Browse all 989

Which are the queries using a particular index or table?

$
0
0

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 ...

Viewing all articles
Browse latest Browse all 989

Trending Articles