Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Azure SQL Database Creation Made Easy

DZone's Guide to

Azure SQL Database Creation Made Easy

· Java Zone
Free Resource

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

Microsoft Azure product team recently extended the database creation workflow in the preview Azure management portal to support two new scenarios namely create from sample and create from backup.

Microsoft also provided a sample database which is based on the lightweight version of the popular Adventure Works database. The database provides support for order processing for a fictitious bicycle manufacturer.

“Creating a database from this sample gives you a quick and easy way to try Azure SQL Database with real world schema and data,” said Sanjay Nagamangalam, Group Program Manager, Azure SQL Database, Microsoft. It is also possible to create a database from the most recent daily backup of any Basic, Standard, or Premium database.

Azure SQL Database

In order to work with this functionality, you need to navigate to the preview portal and select + New > SQL Database. After that you need to choose between a blank database, sample or backup as the source.

The create from backup option enables you to create Azure SQL database from any available daily backup. Moreover, you can create the new database in any region.

If you delete and recreate a database with the same name the backup of the new database will automatically replace the backup of the deleted database.

In order to restore a copy of Azure SQL database to a specific point up to five minutes ago you should open the database in its database blade and restore from there.

In order to restore a deleted database to the point at which it was deleted, then you should use Browse SQL servers to locate its server, open the server blade and click on Deleted Databases.

It is possible to contextually open the database in Visual Studio 2013 with update 4 (or later) with a single click, when viewing a database in either the Azure management pr new preview portal.

You will be able to perform following activities when the database is opened in the SQL Server Object Explorer

  • Browse and edit the schema
  • Write and execute T-SQL queries
  • View data in any of the tables
  • Creation of an offline project to manage, build and publish schema changes alongside your application code

Sanjay demonstrates the creation of database from both sample, backup and contextually open a database in Visual Studio 2013 with Update 4 in the below video.


Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Published at DZone with permission of Anand Narayanaswamy, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}