Scripts

Technical Article

Find Top 5 executed queries ordered by execution count

I wrote this query that helps us find executed queries with most number of execution counts. The DMV that we have used in this script is sys.dm_exec_query_stats and the function that we have used is sys.dm_exec_sql_text.

4.75 (8)

You rated this post out of 5. Change rating

2015-03-04 (first published: )

4,962 reads

Blogs

How to Run Databases on Kubernetes: An 8-Step Guide

By

In this step-by-step tutorial, learn how to run MySQL, PostgreSQL, MongoDB, and other stateful...

Episode 11 of Simple Talks: Oracle

By

The 11th episode is now live, recorded a few weeks ago at the PASS...

A New Word: Mornden

By

mornden – n. the self-container pajama universe shared by two people on a long...

Read the latest Blogs

Forums

how to stop command prompt window from appearing when running PowerShell script?

By water490

Hi everyone I have a PowerShell script that is run by Execute Process Task...

Computer Algebra

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Computer Algebra

Renaming a Database

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Renaming a Database

Visit the forum

Question of the Day

Renaming a Database

If I want to rename the OldSales database to ArchiveSales, how can I do this? (choose 2)  

See possible answers