• Thanks for your reply. I was looking for a way other than searching the plan cache.

    I was using the same DMVs but your script is a little bit more complete.

    Pooyan