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
An old wooden comb on a bathroom shelf with gaps where some of its teeth have broken off.

Gaps and Islands: Finding Missing Ranges in a Sequence

January 27, 2015
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL DateTime, SQL Scripts, SQL Server

Solve gaps and islands with LEAD, ROW_NUMBER, and GENERATE_SERIES, then apply the same date patterns to missing days and login streaks.

Read More
A small boat entering a harbor alone while two tugboats, one red, guide a large ship and a third waits idle

Cost Threshold for Parallelism and MAXDOP: Setting Both Together

January 16, 2015
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL Performance, SQL Server, SQL Server Configuration

Review cost threshold for parallelism with MAXDOP, inspect NUMA layout and settings, then measure plans and waits after changes.

Read More
A hand passing a small red bowl of sugar between two facing kitchen windows, house keys left on a hook.

OPENROWSET vs Linked Servers: Querying Another Server Safely

January 13, 2015
Pinal Dave
SQL Tips and Tricks
Ad Hoc Query, Linked Server, SQL Server, SQL Server Security

Compare OPENROWSET and linked servers, inspect login mappings, keep filtering remote, and review authentication and encryption before use.

Read More
SQL SERVER - Finding Tables Created Last Week - DBA Tip Part II

SQL SERVER – Finding Tables Created Last Week – DBA Tip Part II

January 12, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Table Operation

Part II of finding tables created last week. Readers asked for an easier way, so here is how to do it from the SSMS user interface without writing a script.

Read More
An old chair with one new leg being glued in, held by a red clamp

Refactoring Old T-SQL One Procedure at a Time

January 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Server, SQL Stored Procedure, Testing

Begin refactoring old T-SQL with one procedure, repeatable inputs, duplicate-aware result checks, measured reads, and a simple change log.

Read More
Three raised glasses waiting over a garden table while a fourth is still being filled

CXSYNC_PORT and CXSYNC_CONSUMER Waits in Parallel Queries

December 28, 2014
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL Server, SQL Server 2022, SQL Wait Stats

Investigate CXSYNC_PORT with session wait deltas, parallel plan exchanges and thread rows before testing a query-level MAXDOP change.

Read More
SQL SERVER - Story of Temporary Objects

SQL SERVER – Story of Temporary Objects

December 23, 2014
Pinal Dave
SQL Tips and Tricks
Devart, SQL Scripts, SQL Server, SQL TempDB

Temp tables, table variables and more: the story of Temporary Objects in SQL Server, why you would use them and how they can help performance and scalability.

Read More
Previous 1 … 238 239 240 241 242 243 244 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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