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 spider plant in a red pot with baby plantlets that share its brown leaf tip.

What the model Database Passes to Every New Database

March 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Server Configuration, System Database

Audit the model database template for recovery model, options, objects, and file size, then verify growth settings on new databases.

Read More
A kitchen cupboard crammed with unmatched container lids, a red one at the front.

Finding Orphaned Data and Log Files Nobody Attached

February 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL Server

Inventory orphaned data and log files by comparing data-folder contents with sys.master_files, then review candidates before cleanup.

Read More
A car raised on a jack in a sunny driveway, spare wheel and red brace laid out.

Rehearsing a master Database Restore on a Test Instance

February 16, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, sqlcmd, System Database

Rehearse a master database restore on a matching test instance, including single-user sqlcmd, automatic shutdown, and configuration checks.

Read More
Two glued boards held in red clamps on a workbench while the next board waits.

Waiting for an Agent Job to Finish Before the Next Step Runs

February 9, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Scripts, SQL Server, SQL Server Agent

Wait for an Agent job to finish by polling its current sysjobactivity row, enforcing a timeout, and checking sysjobhistory outcome.

Read More
A lit front parlour in use while the rooms beyond still sit under white dust sheets.

Piecemeal Restore: Bringing the Primary Filegroup Online First

January 26, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL High Availability, SQL Server

Rehearse a piecemeal restore that brings PRIMARY and current data online first, then restores archive filegroups with the right log chain.

Read More
An open dishwasher of clean plates while a hand scrubs a red roasting pan

Maintaining SharePoint Content Databases: What the DBA Still Owns

January 10, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SharePoint, SQL Backup and Restore, SQL Server DBCC

Review SharePoint content databases for CHECKDB, backup history, log growth, recovery model, and a tested site-collection restore.

Read More
A row of small snowmen along a snowy path, each wearing the same red scarf

Running a Command in Every Database Without sp_MSforeachdb

January 5, 2013
Pinal Dave
SQL Tips and Tricks
DBA, Dynamic SQL, SQL Scripts, SQL Server

Run a checked command in every database with a FAST_FORWARD cursor, AG role filter, QUOTENAME, and per-database error log.

Read More
Previous 1 … 14 15 16 17 18 19 20 … 45 Next
  • Books
  • Testimonials
  • Privacy Policy

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