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
Gouache painting of a shelf of sorted pears with the first three covered and the next four in a vermilion basket

OFFSET FETCH in SQL Server: Get Rows 21 to 30 After ORDER BY

August 6, 2019
Pinal Dave
SQL Tips and Tricks
SQL Order By, SQL Paging, SQL Scripts, SQL Server

OFFSET FETCH reads a block of rows from the middle of a sorted result. The demo returns rows 21 to 30, builds pages from a page number and measures why deep pages cost more. A seek based alternative reads the same two pages every time.

Read More
Gouache painting of a meadow with one wide worn path and a vermilion stile at its start

Frequently Run Stored Procedures: Find Them in the Cache

August 5, 2019
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL CPU, SQL Scripts, SQL Stored Procedure

Frequently run stored procedures leave an execution count in the plan cache. A tested demo ranks three procedures by count, reads and calls per minute. It also shows what the cache forgets and when to use Query Store instead.

Read More
A small boat leaves a visible wake beyond its old mooring

How to Write in Text File from T-SQL in SQL Server? – Interview Question of the Week #236

August 4, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Server Configuration, SQL Stored Procedure, SQL String

Question: How to Write in Text File from T-SQL in SQL Server?
The question above was actually asked in an interview and also was not asked in the same word.

Read More
Two different inspection tools examine an intact instrument beside preserved fittings.

SQL SERVER – Historical PHYSICAL_ONLY Bug and Version Specific Evidence

August 3, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server DBCC

A historical SQL Server 2017 Bug affected CHECKDB with PHYSICAL_ONLY and clustered columnstore data. One client observed a dump.

Read More
Title card: .NET Framework 4.0 Failed: Exit Code -2146498511

SQL SERVER – Upgrade Error: Microsoft NET Framework 4.0 Installation Has Failed With Exit Code – 2146498511

August 2, 2019
Pinal Dave
SQL Tips and Tricks
Cumulative Update, DotNet, SQL Error Messages, SQL Server, Starting SQL

The solution of error Microsoft .NET Framework 4.0 installation has failed with exit code  -2146498511 which was faced during SQL Server upgrade

Read More
Title card: Error 35296: Log Backup on Secondary Replica Failed

SQL SERVER – Error 35296: Log Backup for Database “SQLAuthority” on Secondary Replica Failed Because the New Backup Information Could Not be Committed on Primary Database

August 1, 2019
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Backup and Restore, SQL Error Messages, SQL High Availability, SQL Server, Transaction Log

Error 35296: log backup on a secondary replica failed because the new backup information could not be committed on primary. Here is the cause I found.

Read More
A giant pumpkin filling half a harvest table, small squashes set apart in their own basket.

Filtered Statistics: Fixing Estimates for Skewed Data

July 31, 2019
Pinal Dave
SQL Performance
SQL Performance, SQL Server, SQL Statistics

Use filtered statistics to describe skewed customer values, inspect histograms, and test estimates under literal and parameterized queries.

Read More
Previous 1 … 151 152 153 154 155 156 157 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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