azure-sql-database

SSRS on Non-SQL Azure VM

江枫思渺然 提交于 2019-12-04 18:18:31
I noticed that Azure Reporting is being discontinued. The alternative is to set up SSRS on a VM. In the Azure world, can SSRS be installed and configured on a server that is not running SQL server and connect it's two required database to Azure Databases? Or do the databases SSRS needs have to be full SQL Server databases? The VMs in the Azure gallery contain a full installation of SQL Server - meaning all services like SQL Server, Analysis Services, Integration Services, etc. The SQL Server license cost is included in the hourly rate your pay for the server. Obviously, you can choose to

Connecting to Azure SQL with Python

安稳与你 提交于 2019-12-04 17:55:33
I am trying to connect to a SQL Database hosted in Windows Azure through MySQLdb with Python. I keep getting an error mysql_exceptions.OperationalError: (2001, 'Bad connection string.') This information works when connecting through .NET (vb, C#) but I am definitely not having any luck here. For below I used my server's name from azure then .database.windows.net Is this the correct way to go about this? Here is my code: #!/usr/bin/python import MySQLdb conn = MySQLdb.connect(host="<servername>.database.windows.net", user="myUsername", passwd="myPassword", db="db_name") cursor = conn.cursor() I

Create an new administrator level login in Azure SQL?

瘦欲@ 提交于 2019-12-04 17:37:39
问题 I need to replace my old admin login/user with a new one. I tried the following: CREATE LOGIN newDbAdmin WITH password='123isTheBestPasswordEver' CREATE USER newDbAdmin With this I'm then also able to log into Azure SQL via Microsoft SQL Server Management Studio. However it doesn't seem to be an admin level login+user. I'm unable to create tables and a few other things that admins can do. I suspect I need to GRANT permissions to certain schemas (dbo?) or something along those lines ... So,

Visual Studio Database Project and SQL Azure

时光怂恿深爱的人放手 提交于 2019-12-04 17:09:35
问题 I'm really struggling with the best approach for managing a SQL Azure database which is based on a Visual Studio 2010 Database Project. I figured it would be easy enough to use VSDBCMD to create diff scripts for upgrades and then simply run against SQL Azure in SSMS. However, I get the dreaded "The target database schema provider could not be determined. Deployment cannot continue." error. At this point I'm just assuming either SQL Azure doesn't support something in VSDBCMD or vice versa and

How to remotely update azure SQL firewall with local IP via powershell or C#

若如初见. 提交于 2019-12-04 15:32:05
How can I remotely update my azure SQL firewall with my local PCs IP address for administration either via powershell or C#. I have had a look over the documentation but I can only find out how to do it from the actual server itself, not remotely. I can get visual studio to pop up and ask me if I want to add my IP address to the firewall randomly, but most the time it simply fails and does not ask me so I am looking for a solution other than manually logging into the azure portal whenever my IP address changes. Looking for either an example or a link to documentation that shows which libraries

SQL Azure and Full-Text Catalogs, Indexes and Searching

自闭症网瘾萝莉.ら 提交于 2019-12-04 15:29:43
问题 Does SQL Azure supports Full-Text catalogs and indexes? 回答1: As of August 2014, Microsoft is offering a Search-as-a-Service named Azure Search : Azure Search is a search-as-a-service solution that allows developers and cloud architects to embed a sophisticated search experience into web and mobile applications without having to worry about the complexities of full-text search and without having to deploy, maintain, or manage any infrastructure. With Azure Search, a developer can enable the

Cannot enable Full-Text search on Azure SQL Database V12

≯℡__Kan透↙ 提交于 2019-12-04 15:11:34
I'm trying to enable Full-Text search on my Azure SQL Database. I upgraded my DB to V12 Standard instance. The upgrade has got completed successfully. I say that because the Status says "Online" on the portal. However, when I execute this command below, CREATE FULLTEXT CATALOG ftCatalog AS DEFAULT; it throws an error saying, Msg 9972, Level 16, State 100, Line 2 Database is not fully started up or it is not in an ONLINE state. Try the full-text DDL command again after database is started up and becomes ONLINE. I am following this blog post What could be wrong? Executing the below two

Azure SQL Azure AD Authentication Failure

半腔热情 提交于 2019-12-04 14:49:56
I am trying to connect to my Azure SQL Database that has a Azure Active Directory Database Contained User from my .NET Application (Sitecore). I have the adalsql.dll installed on the VM hosting the .NET Application. However, when I attempt to connect, I receive the following error: Failed to authenticate the user test@mytest.onmicrosoft.com in Active Directory (Authentication=ActiveDirectoryPassword). Error code 0xCAA20064; state 10 AADSTS50055: Force Change Password. Here is my connectionString: <add name="mydb" connectionString="Data Source=test.database.windows.net,1433;Initial Catalog=TEST

SQL Azure Premium tier is unavailable for more than a minute at a time and we're around 10-20% utilization, if that

不想你离开。 提交于 2019-12-04 14:44:40
We run a web service that gets 6k+ requests per minute during peak hours and about 3k requests per minute during off hours. Lots of data feeds compiled from 3rd party web services and custom generated images. Our service and code is mature, we've been running this for years. A lot of work by good developers has gone into our service's code base. We're migrating to Azure, and we're seeing some serious problems. For one, we are seeing our Premium P1 SQL Azure database routinely become unavailable for 1-2 full entire minutes. I'm sorry, but this seems absurd. How are we supposed to run a web

Two Azure Mobile Services (.NET backend) sharing the same Database

不羁岁月 提交于 2019-12-04 13:40:02
问题 I have two Azure Mobile Services (.NET backend) which share the same Azure Database. Let say Service "X" and "Y". The database is created by service "X" (when it ran for the first time) and created tables "TA" with schema name "X". Then I ran service "Y" which created the same tables "TA" and "TB" in the same database but with schema name "Y". Now I want to make service "Y" to use schema "X" to make sure both services use the same data. Inside the "TADataController" I changed the code to: