azure-sql-database

Azure Data Sync Clustered Index Error

[亡魂溺海] 提交于 2019-12-11 15:00:03
问题 We are trying to setup an Azure Database Sync group to replicate our data from an on-premise server to an Azure SQL database. This as a first step for a migration to Azure. The Sync Group and Sync Agent have all been set up. When we press the 'Sync' button we receive following error: Trigger Sync Failed: Failed to perform data sync operation: Table '[dbo].[DocumentTypeDocumentVariables]' do not have clustered index. This table did not have a clustered index but an unclustered unique primairy

C++ connection to Azure SQL or Microsoft SQL Server

人走茶凉 提交于 2019-12-11 14:53:49
问题 I am trying to establish a connection to a database in my C++ code; however, I am unsure how to do so. My database is Azure SQL which uses microsoft sql server as the backend. Could someone provide me a website or code that executes the connection with the server name, database name, username, and pass? Thank you 回答1: To find the connection string, first login to Azure portal, then click your database > Show database connection strings, and you'll see the connection strings for ADO.NET, ODBC,

Generate a JSON string containing the differences in two other JSON strings using T-SQL

和自甴很熟 提交于 2019-12-11 14:33:32
问题 Say I have two JSON strings as follows: [{"RowId":102787,"UserId":1,"Activity":"This is another test","Timestamp":"2017-11-25T14:37:30.3700000"}] [{"RowId":102787,"UserId":2,"Activity":"Testing the Update function","Timestamp":"2017-11-25T14:37:30.3700000"}] Both have the same properties but two of the properties in the second string have different values than the first (UserId and Activity). Is it possible, in Azure SQL Database T-SQL, to generate a third JSON string that contains the values

Connect to a Azure SQL Database/SQL Server from Office 365

冷暖自知 提交于 2019-12-11 13:56:50
问题 I have a Microsoft Action Pack subscription with Office 365. I would like to connect to an SQL SERVER database which is provided with Office 365. I am banging my head on forums and google to find out how to access SQL server in Office 365. I checked each option but none of them have an SQL SERVER installed. Does Office 365 doesn't have SQL SERVER license ? Do I need something like Windows Azure which comes with SQL . I am just lost here. When I login the office 365 online screen looks like

Error running MVC4 on Azure

强颜欢笑 提交于 2019-12-11 13:11:12
问题 We sometimes getting an error starting our MVC4 site on Azure. Never seen these errors on our local servers. After deploying the database and the application to Azure, troubles occur starting the homepage if authorization is requested and after a period of inactivity on the site (error likely caused by a timeout). The code is as simple as depicted below: [InitializeSimpleMembership] [Authorize(Roles = "Administrator")] public class HomeController : Controller { public ActionResult Index() {

In Node, how to execute sql from global database connection

社会主义新天地 提交于 2019-12-11 12:58:34
问题 I am unable to execute the sql, when using the global database connection in node.js. I have followed the steps as in Azure documentation: https://docs.microsoft.com/en-us/azure/mysql/connect-nodejs and able to display the output on the console. But, I want to put all my Azure SQL database connection in a separate file, but the select query is not printing the output on the console. DatabaseManager.js var Connection = require('tedious').Connection; var Request = require('tedious').Request;

How do I manage and publish a database with my MVC2 application on Azure?

☆樱花仙子☆ 提交于 2019-12-11 12:56:56
问题 I'll start by saying that I'm fairly new to the idea of deploying applications to the cloud, but I recently downloaded the Azure SDK and wanted to build a sample application to get myself up-to-speed. Here's what I did. Download the Azure SDK Create a new solution Add a new ASP.NET MVC2 Web Role Compile Debug Everything seems to work just fine when I am in debug mode locally--I can create users, log in, and click around. When I deploy my solution, though, I feel like the database is not

I can't manage a server in SQL Azure

∥☆過路亽.° 提交于 2019-12-11 12:29:51
问题 I have two servers in my SQL azure Portal. One of them allow me "manage", so I can login and manage my database. However, in the other one the button "manage" don't display. In this server just two options are displayed. What can I do? 回答1: I hypothesize that one server is of version v11 and the other is v12. Clicking the ‘Manage’ button in Azure Management portal launches the SQL Azure Management (SilverLight) Portal in a new tab in the browser. At this time, we do not plan to support this

Can two Azure SQL databases on the same server affect each other's performance?

我的未来我决定 提交于 2019-12-11 12:19:24
问题 Let's say I have two Azure SQL databases, DB1 and DB2, on the same server, blah.database.windows.net. Can high traffic against DB1 affect the performance of DB2? Background: I started getting several transient SQL errors (timeouts, pre-login handshake failures) on a hosted service talking to DB2 during a time when I had a different hosted service hitting DB1 with excessive traffic (LINQ-to-SQL deletes against hundreds of thousands of records individually). Unexpectedly, the errors on DB2

Can't connect to Windows Azure Database

非 Y 不嫁゛ 提交于 2019-12-11 12:18:44
问题 I am trying to connect to a windows azure database through visual studio Here are my steps : I press add connection on the server explorer fill in the server name .database.windows.net Select Use SQL server Authentication Fill in the username and password Enter a database name When I press Ok, I have to wait some time and then it gives and error 40: could not connect to sql server. My Azure server is set to accept ip from (0.0.0.0 - 255.255.255.255) and so is the MicrosoftServices, can