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
Preserved fittings are assembled and inspected in a separate test cabinet.

SQL SERVER – Check Backup Reliability

February 10, 2021
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server

Backup Reliability needs a successful restore followed by integrity and application validation. Customers ask whether they can skip that exercise.

Read More
A missing courtyard stepping stone leads through a red-ribboned side path to the relocated slab.

SQL SERVER – Finding Fragmentation in Forwarded Records

February 9, 2021
Pinal Dave
SQL Performance
SQL Data Storage, SQL Heap, SQL Scripts, SQL Server

Finding Fragmentation in a heap also requires a separate check for forwarded records. I measure their effect before choosing maintenance.

Read More
An empty fitted recess and preserved fragments are inspected for evidence of removal.

SQL SERVER – Who Dropped Table? Part 2

February 8, 2021
Pinal Dave
SQL Tips and Tricks
SQL Log, SQL Scripts, SQL Server, SQL Server Security

A dropped table can leave transaction-log clues, but those clues are not a complete audit trail. My original investigation had limits.

Read More
A tall stack of pancakes on one plate and a fresh plate with a single pancake, a hand adding the next one.

Running Totals That Reset Every Month

February 5, 2021
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Calculate running totals that reset by calendar month, customer, or fiscal period, using stable ordering and explicit ROWS frames.

Read More
A heavy sled hauled almost to the top of a snowy slope, its red rope trailing back down

Before You KILL a Session: Estimating the Rollback Cost

February 4, 2021
Pinal Dave
SQL Tips and Tricks
DBA, SQL Lock, SQL Server, SQL Transactions

Before you KILL a session, inspect its transaction age, log bytes, current command, and likely rollback work, then monitor the undo safely.

Read More
Hide in Code

Hide Code in SSMS – SQL in Sixty Seconds #154

February 3, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Encryption, SQL Server Management Studio, SQL Server Security, SQL Stored Procedure

I have received so many emails from all of you to create a video on the topic of SQL SERVER – Hide Code in SSMS. Here is the video on the topic.

Read More
Gouache painting of a sorter board with round beads and a rejected square vermilion block

Digits in a Column: A CHECK Constraint for Digits Only

February 1, 2021
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server, SQL String

To keep only digits in a column, a CHECK constraint with NOT LIKE and a character range works, but it has two holes. It accepts an empty string and digits from other scripts. A demo closes both and shows NULL, trust and fixed length codes.

Read More
Previous 1 … 28 29 30 31 32 33 34 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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