Disabling Stretch Database

Disabling the Stretch DB features for a database and the tables stops data migration immediately and queries don't include remote data anymore. You can copy the already-migrated data back to the local system, or you can leave it in Azure. As with Stretch Database enabling, you can disable it for tables and databases using SSMS and Transact-SQL. In order to disable Stretch DB for a database, you have to disable it for tables involved in stretching. Otherwise, you will get an error that instructs you to disable stretch tables before that action.

Get SQL Server 2017 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.