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,893 reads

Technical Article

Primary Keys which are not Clustered Indexes in a database

Recently I was asked to find all the Primary keys that are not clustered Indexes in the database. I constructed the below script which will help us to locate the primary keys in the database which are not clustered index.

4.2 (5)

You rated this post out of 5. Change rating

2013-09-18 (first published: )

1,911 reads

Blogs

Parsing EXE Output in PowerShell

By

I saw a post internally that asked this question: Anyone have a handy powershell...

Connect With More Clients: Our Partner Directory Has Arrived

By

The partner directory connects your agency with new customers.

Can You See Who Forced a Plan

By

I had an excellent group of people in Gothenburg Sweden when I taught there...

Read the latest Blogs

Forums

GIT Configuration and Automated Release for Azure Data Factory

By Sucharita Das

Comments posted to this topic are about the item GIT Configuration and Automated Release...

Output to flat file with no delimiter

By stricknyn

Hello all, Is there an easy way to output my records to a flat...

Refactoring Databases: Evolutionary Database Design

By Site Owners

Comments posted to this topic are about the item Refactoring Databases: Evolutionary Database Design

Visit the forum

Question of the Day

Concat Addition

What is the result of this code?

SELECT CONCAT(1, 2, 3) + 4

See possible answers