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 Management Studio error dialog box.

SQL SERVER – Fix Error – Cannot use the backup file because it was originally formatted with sector size 4096 and is now on a device with sector size 512

August 25, 2016
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server

SSMS backup failed with ‘Cannot use the backup file because it was originally formatted with sector size 4096’. Here is why it happens and the easy fix.

Read More
Gouache painting of open sacks of spices on a market stall with a sample bowl and spoon, one sack painted red

Install the WideWorldImporters Sample Database

August 10, 2016
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Sample Database, SQL Server Management Studio

To install the WideWorldImporters sample database, restore its backup file in SSMS and check the files and the row counts. This post explains the Full and Standard versions, the disk space you need, the permission trap, and three queries that prove the install worked.

Read More
A grounded blue kite with a new cord and an old detached cord

How to Attach MDF Data File Without LDF Log File – Interview Question of the Week #078

July 3, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server, SQL Server Management Studio, Transaction Log

Lost or corrupted your log file? Learn how to attach an MDF data file without the LDF log file, using T-SQL or SQL Server Management Studio.

Read More
A hand scooping a red goldfish from a cracked fishbowl into a jug of clean water with a small net.

Tail-Log Backup: Saving the Last Transactions Before a Restore

June 28, 2016
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server, Transaction Log

Take a tail-log backup before an approved restore, understand NORECOVERY and damaged-database options, and rehearse the full recovery chain.

Read More
A central architectural layout guides a wooden building model on a workbench

What is a Master Database in SQL Server? – Interview Question of the Week #076

June 19, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Server, System Object

A reader told me he had dropped his master database. So here is the basic question: what is a master database in SQL Server, and why does it matter?

Read More
PowerShell - Backup SQL Server System Databases

PowerShell – Backup SQL Server System Databases

May 9, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Backup and Restore, SQL Scripts, SQL Server

A client visit showed me that basics like system database backups often get missed. Here is a PowerShell way to back up SQL Server System Databases.

Read More
PowerShell Script - Backup Every Database In SQL Server

PowerShell Script – Backup Every Database In SQL Server

April 23, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Backup and Restore, SQL Scripts, SQL Server

A client wanted to automate backups with a script instead of a GUI. Here is the PowerShell and SMO script I have used for years to backup every database.

Read More
Previous 1 … 16 17 18 19 20 21 22 … 51 Next
  • Books
  • Testimonials
  • Privacy Policy

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