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
Gouache painting of a light wooden cart attached to a small tractor by a vermilion coupling pin

Attach an In-Memory Database With T-SQL: Include the Container

December 21, 2020
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Backup and Restore, SQL Scripts, SQL Server

To attach an In-Memory database with T-SQL, use CREATE DATABASE with FOR ATTACH and list the data file, the log file and, when it moved, the container folder. This post builds a demo database, detaches it and attaches it twice. It also shows which rows survive.

Read More
Matched drawer components await fitting beside preserved original materials.

SQL SERVER – Attach a Database with T-SQL

December 18, 2020
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Backup and Restore, SQL Scripts, SQL Server

To attach a Database with T-SQL, I use CREATE DATABASE … FOR ATTACH. A customer asked about attaching existing data and log files.

Read More
Plaits of drying onions hanging from a barn beam, many fresh ones at one end and fewer older ones further along.

Long-Term Backup Retention in Azure SQL Database

October 3, 2020
Pinal Dave
SQL Tips and Tricks
Cloud Computing, DBA, SQL Azure, SQL Backup and Restore

Configure long-term backup retention in Azure SQL Database, inspect retained recovery points, restore a separate copy, and review costs.

Read More
Gouache illustration of Simple Recovery, comparing a complete recovery case with separately retained layers for a restoration sequence.

SQL SERVER – Simple Recovery Model and Restrictions

September 23, 2020
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Log, SQL Scripts, SQL Server

Simple Recovery changes recovery options before it changes a performance diagnosis. I choose it from the agreed recovery requirements.

Read More
A complete cloth collection and a separate ribbon of additions are preserved at adjacent workstations.

SQL SERVER – Running Log Backup While Taking Full Backup

September 19, 2020
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, Transaction Log

A full backup and log backup can overlap on one SQL Server database. A customer noticed both during a slowdown.

Read More
Human Error

Undo Human Errors in SQL Server – SQL in Sixty Seconds #109 – Point in Time Restore

August 25, 2020
Pinal Dave
SQL Video
SQL Backup and Restore, SQL in Sixty Seconds, SQL Scripts, SQL Server

In this blog post, we are going to talk about how to undo human errors in SQL Server with the help of Point in Time Recovery. Let us learn today.

Read More
An open travel case and the ceramic jug it must actually hold

What does Verify Backup When Finished do in SQL Server? – Interview Question of the Week #283

June 28, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

Question: What does Verify Backup When Finished do in SQL Server? It looks like a very important step in the entire backup and restores.

Read More
Previous 1 2 3 4 5 6 7 … 51 Next
  • Books
  • Testimonials
  • Privacy Policy

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