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
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
A hand pausing on a dusty draw-stop of an old church organ, the other stops polished from use

Finding Old Agent Jobs Not Run in Months or Never Scheduled

December 14, 2020
Pinal Dave
SQL Tips and Tricks
DBA, SQL Scripts, SQL Server Agent, SQL System Table

Review agent jobs not run recently or lacking schedules, combine history and activity, and disable approved candidates for review.

Read More
rowcount

Fastest Way to Retrieve Rowcount for a Table – SQL in Sixty Seconds #096

August 7, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL System Table

What is the fastest way to retrieve rowcount for a table?  Whenever I am helping my clients with their SQL Server, I get this question.

Read More
auto created

SQL SERVER – Drop All Auto Created Statistics

February 4, 2020
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL Statistics, SQL System Table

During the recent consulting engagement, I ended up a very interesting situation where I had to drop all the auto created statistics. 

Read More
A flock gathered at a gate gives a concrete scene for counting a collection

What are Different Methods to Know the Row Count of Table? – Interview Question of the Week #261

January 26, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Counter, SQL DMV, SQL Scripts, SQL Server, SQL Server Management Studio, SQL System Table

Question: What are Different Methods to Know the Row Count of Table? The answer to this question is very simple and many.

Read More
A garden path of alternating cream and blue slabs from a red slab at the gate, one slab missing by a tree root

A Schedule Table That Repeats Every Other Week

September 2, 2019
Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table

Build an every other week schedule in T-SQL, skip holiday dates, find the next occurrence, and check rota weeks from one anchor.

Read More
Loose tiles are combined into a finished tiled surface

How to Find Definition of Computed Column in SQL Server using T-SQL? – Interview Question of the Week #233

July 14, 2019
Pinal Dave
SQL Interview Questions and Answers
Computed Column, SQL Function, SQL Server, SQL System Table

Question: How to Find Definition of Computed Column in SQL Server using T-SQL?
Answer: A very fair question, I received the other day.

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

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