SQL Azure Link DB - sql

I have a SQL Azure Server (DBn), I need to copy some of the tables from (DBn) to number of other SQL Azure Servers (DBn1,DBn2,....). I should be able to execute the copy operation through a worker role. Is this possible via Linked server feature in SQL Azure?

that's a common misconception about the linked server support for Azure SQL Database.
you can setup Azure SQL Database as a linked server in SQL Server but you cannot setup a linked server from Azure SQL Database itself that links to other Azure SQL Database or SQL Server.
you can add an Azure SQL Database as linked server. you cannot add a linked server in Azure SQL Database.

You can use Windows Azure SQL Data Sync where you can perform synchronization between SQL Databases on Windows Azure as well as instances of SQL Server on-premisse

Related

Migration of database from SQL Server to Azure SQL

I want to migrate the database and servers which are very big (around 1TB). Which process should I use to migrate it?
You can either create a backup and upload it to an Azure Storage Account and restore the DB on Azure Sql Database from it or you can use Azure Database Migration Service:
https://azure.microsoft.com/en-us/services/database-migration/

offline DMS migration from Azure SQL VM to Azure SQL DB

I am migrating my databases from Azure SQL VM to Azure SQL DB using offline migration but while migrating I am getting a error i.e " Microsoft.Azure.Management.DataMigration.Models.ODataError"
I am using powershell script to migrate the database.
I don't know what is wrong in this and why am getting this error.
I have attached the error screenshot herein.
As per this thread on Microsoft Q&A, the issue could be in relation to different collation on the source and destination DB's. I recommend you to raise a support ticket if possible.
Alternatively, you can use SQL Server Management Studio(SSMS) to migrate the Database.
Install the SSMS in your local machine and connect to the Azure SQL VM by following connect to SQL server steps in the tutorial.
Once you are connected with the server, follow the steps as mentioned in this thread to migrate the database to Azure SQL Database.

Connecting ODBC progress with sql azure

Somehow I cannot find it anywhere on the internet. Currently we are running an on premise version of SQL Server. We are looking for the possibility to migrate to the azure cloud for our databases.
However one of our databases heavly runs query using an openedge odbc linked server solution to query an progress database.
I cannot find if it is possible to create a linked server in the azure cloud to allow connections to that progress database.
Does anyone knows if it is possible?
No, Azure SQL Database Managed Instance only support SQL Server/SQL Database linked Servers, Single Database and Elastic pool doesn't support linked servers.
You may check the features that supported by Azure SQL Database here:
https://learn.microsoft.com/en-us/azure/sql-database/sql-database-features

Is it possible to restore a SQL Server database in Azure?

I have a backup of a SQL Server 2008 database. I'd like to restore it as an Azure SQL Server database. Is this possible?
P.S. I've seen a couple of questions to this effect from 2014. Is it possible today?
AFAIK, no it's not possible.
The Unsupported in SQL Azure doco https://azure.microsoft.com/en-us/documentation/articles/sql-database-transact-sql-information/ directs you to BOL and RESTORE shows it's not available in SQL Azure.
https://msdn.microsoft.com/en-us/library/ms186858.aspx
Are you able to restore the backup to an instance of SQL 2008 on-premises/locally first? If so you can then use management studio to Export the data and schema as a BACPAC or DACPAC file (export data tier application), which can then be imported into an Azure database using the Import data tier application. You can also use the Taks -> Generate Scripts option from the database node in the management studio, ensure you check on include schema and data - then the SQL files can be executed against your SQL Azure instance as well.
There are some features which aren't available in SQL Azure that are on the server product, but the import will tell you about those if there are any - things like FILESTREAM aren't supported in Azure. Here is the link to take you through steps to migrate from SQL server to SQL Azure - and here are the differences in supported features between the two.
I have some production databases in Azure and frequently download them as data tier apps, import them into a local instance of SQL Server to do some debugging or testing, its a painless process.

How to connect On-premise database servers to sql azure database server

I have 4 on-premise database server that has to be connected to Sql azure server as linked server.I will be querying these on-premise server from sql Azure database server.As far as I checked online I get the answer as it is not supported in Azure. Kindly advice on the same.
Azure SQL DB is previewing Elastic Database Query feature at this point in time that will help you query from Azure SQL DB to other DBs. You can get detailed information about the feature here.