Create and Connect to a Azure SQL Database with SQL Server Management Studio and Powershell
|
Today we are going to talk about creating a new Microsoft Azure SQL Database and use SQL Server Management Studio and Powershell to connect and work with it.
First, you will need to sign up for the Free Trial with a Microsoft Account. Go to http://azure.microsoft.com and sign up for a free 30-day trial. Once you sign up go to the Azure Portal (http://portal.azure.com) and sign in.
Overview
Microsoft Azure SQL Database is a cloud DAAS (Database As A Service) that can be used to build SQL Server databases easier and on-demand. Developers can leverage the cloud offering to focus on development of their new applications without having to wait days for a DBA to create a database. Database Administrators can use it for high availability of a database, use the service to backup databases, or scale quickly based on demand.
Microsoft Azure SQL Database uses the codebase from the newest SQL Server 2016 Product Suite for the database engine, however, there are some
limitations on what you can do in Microsoft Azure SQL. The table below highlights a few of those limitations.
Global Tempoary Tables |
SQL Server Agent Functions/Procedures |
SQL Server Logins (Database Scope Credentials are supported) |
sp_addmessage |
SQL Server Auditing (Database Auditing Supported) |
SQL Server Trace |
Login Triggers or Server-scope Triggers |
USE statement |
Use Cases
There are a number of use cases that can be adopted.
- Scale a production application based on increase demand
- Quick development and test environments that will speed up development and QA
- Ability to out-source database management and TCO
- Backup and Recovery
Features
Instead of writing out the features that are available in Microsoft Azure SQL I will provide a link to the Microsoft Docs with that information. The feature set is changing daily and it a good idea to check with the docs on a daily or weekly basis.
Microsoft Docs - Azure SQL Database Features