KH khalaf

KH khalaf

  • NA
  • 29
  • 438

Generate random queries to test performance indexes in DB ?

Dec 9 2019 4:24 AM
I have database and some indexes on a table A (clustered, non-clustered, include, filter), the table A has more 100+ of rows, so I want to test this table A (which index is better) through generate random of queries on this table and choose it (index) based on performance through execution plan.
 
Is there any function or way to achieve so that I pass the queries to this function and executes them (on SQL sever)? Thanks in advance >>>

Answers (1)