Difference between SQL Database and SQL Server in Microsoft Azure Portal - sql-server

I see 2 Azure offering SQL Database and SQL Server on Azure Portal, whats the difference ? I understand SQL Database is SaaS and SQL Server is PaaS.

The SQL server (lower case s for server) here is a strong container for 1 or more databases which can be of multiple types. Today you can have Azure SQL Database, SQL Data Warehouse and SQL Stretch database all in the same logical SQL server. The server is the public endpoint you connect to. Other objects like logins are hosted there also.
SQL Server (upper case S for Server) is the "box" product that can be hosted on your own machines or in Azure VMs as an IaaS solution. You can in most cases think of an Azure SQL server conceptually as very similar to the box SQL Server instance but actual underlying setup is quite different.

It does not have to be on Windows server and T-SQL language differences. That's most of it. See the Microsoft docs for further information.
https://sqlstudies.com/2016/08/09/azure-whats-the-difference-between-sql-database-and-sql-server/

Related

Read Oracle database from Azure Elastic Database Job

In onprem SQL Server you could add a remote database server such as Oracle as a Linked Server, and use in a SQL Server Job Agent job.
Is this possible in Azure SQL Database using Elastic Database Jobs? How?
On Azure SQL Database (PaaS) a concept like a linked server does not exist, however on Azure Managed Instance (PaaS) you can have linked servers but they support limited number of targets. Supported targets: SQL Server and Azure SQL Database. Not supported targets: files, Analysis Services, and other RDBMS (including Oracle).
You may want to consider creating a SQL Server VM on Azure (IaaS) or using Azure Data Factory.

Difference between On-Prem SQL and Azure SQL

I am working on POC to move production databases from existing on-prem SQL Server 2008 into Azure SQL.
Details and links on identifying the differences are most welcome!
You can find latest info on what is in Azure SQL Database and how it matches up with SQL Server here : What's new with SQL Database

What is best practise to migrate On-premises SQL Server to Azure VM - Dynamic SQL Agent Jobs in AlwaysOn offering

I am trying to migrate On-premises SQL Server to Azure VM.
I am writing in reference to below link
https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-migrate-onpremises-database/#azure-vm-deployment-wizard-tutorial
I am having multiple applications in which few are hosted in Azure and few are On-premises.
All these applications contact on-premise SQL Server for data manipulations.
In some scenario these applications creates dynamic SQL Agent Jobs!
Now my requirement is to move on-premise SQL Server to Azure cloud. I would like to know how can I manage these dynamic SQL Agents in Azure?
In short, My question is: how can I migrate below items?
SSIS packages associated with these databases
SQL Agent Jobs scheduled in server (created dynamically)
File Stream associated with server databases
Also I am planning to use SQL Server "AlwaysOn" offering. So how to synch these SQL Agent Jobs in these shared Virtual Machines?
I was referring https://azure.microsoft.com/en-us/documentation/articles/sql-database-general-limitations/ and it says as follow
Microsoft Azure SQL Database does not support SQL Server Agent or
jobs. You can, however, run SQL Server Agent on your on-premises SQL
Server and connect to Microsoft Azure SQL Database.
SQL Agents can be dynamically created as shown here https://www.mssqltips.com/sqlservertip/3052/simple-way-to-create-a-sql-server-job-using-tsql/ My question is, will these stored procedures run in azure cloud?
Update
It’s challenge but can be done. We need to setup new Job, which constantly monitors and pull the current role of the replica, based on PRIMARY role, we run the job needs to do if it is the primary.
Below link gives me hint
https://dba.stackexchange.com/questions/45137/sql-server-agent-jobs-and-availability-groups but I am looking for step by step blog/article to achieve this.

Do you need to migrate SQL server 2008 to Azure SQL?

I am currently learning Azure. In terms of data store, I see Azure SQL and the migration tool. If you have SQL server 2008 or Oracle, would you be required to migrate in order to use Azure?
I know you can access/query the Azure datastore via web browser or azure tools. Is there anything equivalent to working locally (or setting up local azure sql db)?
Azure is a platform with various components. you can opt to migrate your database to Azure SQL Database, run a Azure VM with either Oracle or SQL Server, or retain your current databases on-premise and make use of VPNs to connect your on-premise databases and your Azure-based application.
There is no emulator for Azure SQL Database. for local development, you can point it to as SQL Express, LocalDB or SQL Server.

Azure Tables and SQL Server Management Studio

Is there a way to view Azure Tables form SQL Server Management Studio or some similar tool?
You can install the Nov CTP of SQL Server 2008 . The SSMS supports connecting to Azure like connecting to any other on-premise database.
You could also try this tool - http://hanssens.org/tools/sqlazuremanager/
Another option is http://onlinedemo.cerebrata.com/sqlazureclient/ a tool by Cerebrata.
As Joannes mentioned, it's unclear whether you are looking to browse SQL Azure or Azure Table Storage.
If it's SQL Azure you're asking about, then it's an easy answer: Yes. Simply go to your SQL Azure account online and grab the server name (.database.windows.net), and use that from SQL Server Management Studio when connecting to your database. Specify your admin username and password, and you're off and running.
If you're talking about viewing Azure Table storage, there are a few tools floating around. The most current seems to be the Azure Storage Explorer on CodePlex. It'll let you view all of your Azure tables, and edit text blobs.

Resources