May 4, 2016

SQL tip #1: Store SQL DB files in Azure storage

By

Theta

Did you know that you can configure an Azure SQL VM (or on premise machine) to store SQL data (.mdf) and log (.ldf) files in Azure storage?

Why?  Well it means if you want to move your VM, i.e. create a new VM and migrate to it, you can easily make a change and use a simple detach and re-attach to make the database(s) available again.  You can find full instructions from Microsoft here.

Try it out next time you start a new SQL Server or migrate the existing databases you have to Azure storage

Full Instructions