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
Overutilized

SQL SERVER – Exploring 3 Overutilized Features

November 17, 2023
Pinal Dave
SQL Tips and Tricks
Query Hint, SQL Cursor

Potentially leading to less efficient implementations or missed opportunities for optimization. In this blog post, we’ll explore three such Overutilized features.

Read More
cursorsetbased

SQL SERVER – Convert Cursor to Set Based Insert

July 6, 2023
Pinal Dave
SQL Tips and Tricks
SQL Cursor

In this blog post, we will focus on the issue of cursor-based inserts and demonstrate how to convert them into set based operations.

Read More
common table expression

SQL SERVER – Replacing a Cursor with a Common Table Expression

July 3, 2023
Pinal Dave
SQL Performance
CTE, SQL Cursor, SQL String

Let us learn today – How I was able to improve the query performance by replacing the cursor with a common table expression (CTE).

Read More
SQL Server heaps

SQL SERVER Heaps: Understanding Their Benefits and Limitations

June 7, 2023
Pinal Dave
SQL Performance
SQL Cursor, SQL Heap, SQL Index, SQL System Table

In this article, we will delve into the use cases for SQL Server heaps, scenarios where caution should be exercised, and effective management techniques.

Read More
11tips

11 Essential Tips for Avoiding Common SQL Server Performance Tuning Mistakes

February 1, 2023
Pinal Dave
SQL Performance
Normalization, Software Development, SQL Backup and Restore, SQL Cursor, SQL Data Storage, SQL Datatype, SQL Index, SQL Server, SQL Server Security, SQL Statistics, Temp Table

This blog post will cover 11 tips for avoiding common SQL server mistakes. From indexing to security, these tips will help you optimize your database’s performance.

Read More
SET NOCOUNT

SQL SERVER – SET NOCOUNT – Impact on Stored Procedure Performance

December 18, 2019
Pinal Dave
SQL Performance
SQL Cursor, SQL Scripts, SQL Server, SQL Stored Procedure

Recently, I solved a huge performance problem for one of my clients by just adding the SET NOCOUNT inside the stored procedure.

Read More
Kill Inactive Sessions Script.

SQL SERVER – Script to Kill All Inactive Sessions – Kill Sleeping Sessions from sp_who2

May 6, 2019
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL DMV, SQL Monitoring, SQL Scripts, SQL Server

A third party app kept connections open and hurt a client’s performance. While they waited for a patch, we used this script to kill all inactive, sleeping sessions.

Read More
1 2 3 4 … 6 Next
  • Books
  • Testimonials
  • Privacy Policy

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