Azure Tables and SQL Server Management Studio - sql-server

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.

Related

Online replication/Mirroring/Migrating Oracle and SQL Server Database to Azure

I am trying to replicate the source database (Oracle 11g and MS SQL Server 201x) to Azure SQL Database. Initially I thought of using Azure DMS(Database Migration Service) to do a full load + Change Data Capture for changes. After started to work on this, I learnt that the DMS requires Control Server privileges on the SQL Server Database and DBA Role on Oracle. We might not get these permissions on the source databases as they are managed by third party company (SaaS model). However, we have read permissions on the source database/tables.
We have to achieve the following :
Replicate data from Oracle Source System to Azure SQL Database and
Replicate data from SQL Server 201x to Azure SQL Database.
What should be the approach?
Azure SQL Data Sync? I read on the forum that it actually writes/creates tables in the source database. This won't be acceptable.
Transactional replication for SQL Server? - Has any one tried? Can you please share your experience?
Third option I thought was to use Attunity Replicate (however, not sure about the licensing costs)
Can someone please help with approaching this business problem?
Regards,
JE
You said, you have read permissions on the source database/tables(Oracle and SQL Server). I suppose that you just have the read-only permission.
Then the answer is no, we can not copy the data or migrate the database(Oracle and SQL Server) to Azure SQL database without the CONTROL SERVER permission.
Data sync can help you sync the data from SQL server to Azure SQL database, but you need have permission to Azure SQL too. Create the table with same schema and so.
If you don't the permission on SQL server, the Transactional replication also doesn't work.
For Attunity Replicate, I don't know much it, sorry that I can't answer you.
For your questions:
1.Replicate data from Oracle Source System to Azure SQL Database
Please reference this Azure Database Migration Guide: Migrate Oracle to Azure SQL Database.
This scenario describes how to migrate an Oracle instance to Azure SQL Database.
2.Replicate data from SQL Server 201x to Azure SQL Database.
Reference: Azure Database Migration Guide:Migrate SQL Server to Azure SQL Database.
This scenario describes how to migrate a SQL Server instance to Azure SQL Database.
We also could use bellow way to migrate the database with SSMS:
Create a dacpac file and import to Azure SQL.
SSMS Deploy database to Microsof Azure SQL database.
For details, please see: Learn how to Migrate a SQL Server database to SQL Azure server.
Hope this helps.

Error when uploading my database from SQL server 2017 to Azure SQL server

When I use SQL server 2017 database tool to upload my database, I got this error.
When I generate .bacpac file by myself and upload to azure storage account, then import to azure sql server, I also get the same error.
This database is generated from my asp core project using Entity framework, I generate to sql server 2017 to add more performance update like: partition table, indexing table. After that, I upload this database to Azure cloud, then I get this error.
Please help me!
Please try to remove the login Admin at the database level before trying to migrate to Azure SQL Database again. Admin is not a valid login name you can use in Azure SQL Database.
I usually recommend users to use Azure Data Migration Assistant (DMA) to migrate a SQL Server database to Azure SQL Database, because it performs an assessment first and let you know things you need to fix prior to migrate to Azure SQL. Once all incompatibilities are fixed, DMA allows you to migrate with a couple of clicks.

Deploying a database to SQL Azure through SSMS fails with views in the database

I'm having issues deploying databases to SQL Azure DB from SQL Server Management Studio using the Tasks > "Deploy Databases to Microsoft SQL Azure" option path. I notice this tends to fail if the database has views. Is this a well-known issue or am I doing something wrong?
Please consider not using SSMS and use Microsoft Data Migration Assistant (DMA) instead. DMA is the easiest way to migrate a database to Azure SQL Database. It gives you an assessment of the database and tells you about possible blocking points and existent incompatibilities of the database with Azure SQL Database. You can download DMA from here.

How do I add my Azure Sql Server Admin User to 'Sysadmin' Server Role?

I'm attempting to migrate a Sql Db from a local server to Azure using the new Data Migration Assistant v2.0 (announced here).
It seems to have connected to my source (a local SQL 2014 server, Windows Auth) and destination (Azure V12 SQL, server admin username and password) servers correctly, but gives the following error when attempting to get to the 'Add Database' step.
Provided credentials for target server
'fooserver.database.windows.net' have insufficient server-level
permissions to perform migration. The credentials used to connect to
the target server must be a member of the sysadmin server role.
How do I add my Azure Sql Server admin user to the 'sysadmin' server role? I couldn't see anything related to this in the Azure Portal.
I do not believe that Data Migration Assistant is the right tool for the job. If you original database is Microsoft SQL one you could either use The Microsoft SQL Server 2016 Upgrade Advisor Preview or The Export Data Tier application wizard in SQL Server Management Studio. I have used both approaches many times and they work very well.
The following article is probably the best one our there that lists and explains all available options - SQL Server database migration to SQL Database in the cloud.
Let me know if you have any questions.
Update 1 - #Ted has contacted Microsoft and they have said that Data Migration Assistant does not support migrating to Azure at the moment. This scenario will be supported in a future version.
Nov 2017 Update
The MS Data Migration Assistant now absolutely does support migrating on premises SQL databases to Azure SQL, as well assessing your DB for compatibility, and providing / applying suggestions for fixes if required.

Azure SQL database unavaliable on management portal, but working

I created a db on my server on azure, and it works well, and can be managed with sql server management studio, and the related website also works well, but on the management portal, the database is unavaliable. It appears on the list of databases under the server.
I deployed the database from my local server with ssms.
Muller, are you still able to interact with your database via the Azure portal?

Resources