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
A hand striking one match from a long-kept box in a kitchen emergency drawer, the flame catching at once.

Automated Restore Tests: Proving Backups Work Every Week

September 7, 2016
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server Agent, SQL Server DBCC

Schedule restore tests that select current backups, move files to an isolated server, run CHECKDB, record failures, and rotate databases.

Read More
SQL SERVER - Understanding How to Play With Row Constructor

SQL SERVER – Understanding How to Play With Row Constructor

September 5, 2016
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

A code review surprised me with an unusual use of the Row Constructor. Here is what the code did and how you can play with row constructors yourself.

Read More
SQL SERVER - SSMS Enhancement - Databases Node Filter Capability

SQL SERVER – SSMS Enhancement – Databases Node Filter Capability

September 3, 2016
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server 2016, SQL Server Management Studio

A client with 86 databases struggled to find one in Object Explorer. A newer SSMS Enhancement lets you filter the Databases node. Here is how it works.

Read More
An unmarked seven-compartment organizer sits beside a movable grouping boundary.

SQL SERVER – Find Week of the Year Using DatePart Function

September 2, 2016
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

The DATEPART function returns a week number according to its week definition. I choose that convention before using calendar logic.

Read More
Tent pegs and slack guy ropes in a flattened patch of grass where a tent used to be

Finding Orphaned Child Rows Before Adding a Foreign Key

September 1, 2016
Pinal Dave
SQL Tips and Tricks
Database, SQL Constraint and Keys, SQL Scripts, SQL Server

Find orphaned child rows before adding a foreign key, review their business meaning, validate relationships, and confirm constraint trust.

Read More
A storm-ready cellar doorway with sandbags, lanterns on a shelf and a red first-aid box on the wall

Writing a Disaster Recovery Runbook: RPO, RTO and a Restore Test

August 31, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Backup and Restore, SQL High Availability

Build a disaster recovery runbook around agreed RPO and RTO, usable backup chains, instance dependencies, clear roles, and restore tests.

Read More
Distinct sea urchin shells with matching spines and one empty cavity

FOR JSON Data Types: How bit, Dates and Money Come Out

August 30, 2016
Pinal Dave
SQL Tips and Tricks
Data Warehousing, JSON, Master Data Services, SQL Data Storage

Your API returns 1 and the client wanted true. Here is how FOR JSON picks a JSON type for bit, dates, decimal, money, binary and NULL, and how to fix it.

Read More
Previous 1 … 182 183 184 185 186 187 188 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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