Administrator

SQLServerCentral Article

How to Safely Remove a SQL Server Data File Without Downtime

  • Article

Learn how to safely remove a SQL Server .ndf data file without any downtime using DBCC SHRINKFILE (EMPTYFILE). This hands-on tutorial walks through real-world Azure-based setup, data redistribution, and storage cleanup — ideal for DBAs managing enterprise SQL Server environments.

(3)

You rated this post out of 5. Change rating

2025-05-16

2,513 reads

Blogs

What’s New at AWS re:Invent 2025 – Day2 Highlights

By

Day 2 kicked off with Matt Garman’s keynote, and he opened with a quote...

Quantum Computing and SQL Server Article Is Up

By

In parallel with the presentation I gave at the PASS Data Community Summit on...

SQL Server – What To Do When Disaster Strikes (5-Point Survival Guide)

By

 SQL Server – What To Do When Disaster Strikes (5-Point Survival Guide)Chill, coffee first.When...

Read the latest Blogs

Forums

Veeam Backup DAG issue. Access to availability group is not permitted.

By goodtimecharlie

Hi all,   Has anyone encountered an issue whereby using a distributed availability group...

need to kill long running SPIDs

By rajemessage 14195

hi, i have seen in my server sometimes some SPIDs get stuck. so we...

Improving update statistics process for 6 big tables

By jellybean

Recently I was asked to investigate the update statistics process on a particular database....

Visit the forum

Question of the Day

Adding a Lot of Seconds

When does this code work and when does it fail?

DECLARE @BaseDate DATETIME = '1900-01-01';

SELECT DATEADD(SECOND, 2147483648, @BaseDate) AS [MaxIntSecondsAdded];

See possible answers