This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A bike rack with one long red chain looped through every slot while a cyclist waits with nowhere to park

Counting Locks per Session With sys.dm_tran_locks

September 13, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Lock, SQL Server, SQL Transactions

Count locks per session by resource and mode, connect open transactions, and recognize escalation while keeping snapshot limits clear.

Read More
completion time

SQL SERVER Management Studio – Completion Time in Messages

September 10, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio

When the queries end, we know how long the query ran from the duration of the query but we never know their completion time. 

Read More
Gouache painting of six small tins on a sewing table, three open with buttons and a vermilion magnifying glass in front

Tables Containing a Column: Search by Name in SQL Server

September 9, 2019
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server, SQL System Table

To find tables containing a column, search sys.columns by name instead of opening tables one by one. This post searches one database, then every database on the server, and shows why an underscore in the pattern needs brackets. It also compares the data types of related columns.

Read More
Two neighboring boats are held in position by separate ropes

How to Use Multiple Hints Together for a Query? – Interview Question of the Week #241

September 8, 2019
Pinal Dave
SQL Interview Questions and Answers
Query Hint, SQL Joins, SQL Scripts, SQL Server

Question: How to Use Multiple Hints Together for a Query?
Answer: Of course, you can use multiple hints for a query. Here is an example of the same.

Read More
Active parallel loom threads are inspected separately from preserved guides and worn tools.

SQL SERVER – Active Parallel Requests and Cached Parallel Query History

September 4, 2019
Pinal Dave
SQL Performance
Parallel, SQL CPU, SQL Scripts, SQL Server

I Identify parallel running requests separately from parallel queries recorded in the cache. Those lists answer different performance questions.

Read More
A leather satchel on a station bench, its strap buckled tight but its brass clasp hanging open

Listing Driver, Encryption and Auth Scheme for Every Connection

September 3, 2019
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL DMV, SQL Server, SQL Server Encryption, SQL Server Security

Inspect the auth scheme, encryption, driver interface, and protocol for current SQL Server connections, then group the results clearly.

Read More
An already ordered line of containers travels along a conveyor

Do Stream Aggregate Operator Always Need Sort Operator? – Interview Question of the Week #240

September 1, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, Parallel, SQL Operator, SQL Scripts, SQL Server

Question: Do Stream Aggregate Operator Always Need Sort Operator?

Answer: Absolutely No.Before I explain this question a bit more in detail.

Read More
Previous 1 … 70 71 72 73 74 75 76 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com