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
The first group of towels is set aside while the remaining sequence stays on its shelf

How to Skip Top N Rows in SQL Server? – Interview Question of the Week #237

August 11, 2019
Pinal Dave
SQL Interview Questions and Answers
Ranking Functions, SQL Function, SQL Paging, SQL Scripts, SQL Server

Question: How to skip top N Rows in SQL Server and retrieve the rest of the rows? Answer: I had asked the above question in one of the interviews last week.

Read More
Gouache painting of a brass microscope on a wooden table with a cracked glass slide on its stage and a vermilion adjustment screw

WMI Invalid Class: Patch Rule Fails on Cluster Service Check

August 10, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Patch, SQL Server, SQL Server Cluster, Windows

A WMI invalid class error can sit behind a patch rule failure that looks like a cluster problem. The rule was Not clustered or the cluster service is up and online. Recompiling the WMI MOF files with mofcomp fixed it for my client.

Read More
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
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
Gouache painting of a small stone arch bridge over a stream with a gap where the keystone belongs, a vermilion keystone resting on the grass below

Setup Error 0x800F0831: .NET Framework Install Fails During Upgrade

August 2, 2019
Pinal Dave
SQL Tips and Tricks
DotNet, SQL Error Messages, SQL Server, SQL Upgrade

Setup error 0x800F0831 broke an in-place upgrade from SQL Server 2014 to SQL Server 2016. It is the hex form of exit code -2146498511. The CBS log showed store corruption with a missing package, and installing that package fixed the upgrade.

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 … 71 72 73 74 75 76 77 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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