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
Backups & Compression.

SQL SERVER – How to Enable Backup Compression On by Default

September 30, 2017
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server

Tired of typing WITH COMPRESSION on every backup? Here is how to Enable Backup Compression on by default for the whole SQL Server instance.

Read More
Scarf fringe with both tied and untied threads visible

Building a Data Dictionary Query From Extended Properties

September 29, 2017
Pinal Dave
SQL Tips and Tricks
Data Warehousing, Master Data Services, SQL Data Storage, SQL Extended Events

A plain join quietly hides every column nobody described. See the LEFT JOIN that keeps them, and turn the gaps into a to-do list.

Read More
Vacated clay recesses retain small traces beside a cleanup brush and an intact tray of finished tiles.

SQL SERVER – What Are Ghost Records and How to Clean Them Up?

September 28, 2017
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server

Ghost Records are logically deleted index records waiting for physical cleanup. I investigate their context before recommending an intervention.

Read More
Convert function.

SQL SERVER – Simple Explanation of AT TIME ZONE Feature

September 25, 2017
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

The AT TIME ZONE feature arrived in SQL Server 2016. Here is a simple two-step example that converts US East Coast time to West Coast time.

Read More
Floppy Disk Drive (A:).

SQL SERVER – The Operating System Returned the Error 21(The Device is Not Ready.) While Attempting ‘GetDiskFreeSpace’ on ‘A:\’

September 23, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

While testing SQL Server 2017, I found Error 21 (the device is not ready) in the ERRORLOG for GetDiskFreeSpace on drive A. Here is why it shows up.

Read More
Drive path query window.

SQL SERVER – New DMV in SQL Server 2017 – sys.dm_os_enumerate_fixed_drives. A Replacement of xp_fixeddrives

September 22, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2017, SQL Stored Procedure

SQL Server 2017 adds sys.dm_os_enumerate_fixed_drives, a new DMV that shows free space on each drive and replaces xp_fixeddrives. Here is the query I use.

Read More
SQL SERVER - FIX: Msg 5123, Level 16 - CREATE FILE Encountered Operating System Error 5

SQL SERVER – FIX: Msg 5123, Level 16 – CREATE FILE Encountered Operating System Error 5

September 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Windows

This blog is about another common error reported by many DBA to me. He faced error related to create file in OS.

Here is the text of the message.

Read More
Previous 1 … 139 140 141 142 143 144 145 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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