azure-sql-database

Can't deploy Sql Database Project to Azure

▼魔方 西西 提交于 2019-12-12 04:19:19
问题 I have a Sql Database Project and in deploying time, with appveyor, i get this error: Error publishing database: Could not deploy package. Unable to connect to master or target server 'ods-staging'. You must have a user with the same password in master or target server 'ods-staging' . I think that i get this error because the ip address it's not allowed in Azure Database Firework. if this is correct how can i know what are the range of ip addresess that appveyor use? or maybe this error is

Linq query to get person visited zones of current day

家住魔仙堡 提交于 2019-12-12 03:46:48
问题 I am working on web api with Entity framework as object-relational mapping (ORM) framework for ADO.NET. I need to write a linq query which should return most recent 5 zones traveled by a person. My table with respective columns is depicted in the attached image. I am using azure sql database as my back-end storage, from the above data i need to get top 5 zone_id list as [4,2,3,2,1] by using linq query . client may request to get zones list with in specific range of stime . 回答1: Not 100% sure

SQL “Log Bytes Flushed/sec” counter from powershell Error

你离开我真会死。 提交于 2019-12-12 03:36:18
问题 I am trying to calculate the type of AZURE SQL I need using this: http://dtucalculator.azurewebsites.net/ => http://dtucalculator.azurewebsites.net/Downloads/sql-perfmon.zip This is a PowerShell script that gets data from some counters from SQL but it errors out when accessing the "Log Bytes Flushed/sec" counter that it is pressent in SQL when I run select * FROM sys.dm_os_performance_counters where counter_name like 'Log Bytes Flushed/sec%' the error I get from PowerShell is: Get-Counter :

Modifying max degree of parallelism to 1 for azure sql server

霸气de小男生 提交于 2019-12-12 03:29:08
问题 I'm able to query "max degree of parallelism(maxdop)" value from sys.configurations but unable update the same for an azure-sql server. I'm not very sure if there is an alternative for sp_configure stored procedure in azure-sql. SELECT name, value_in_use FROM sys.configurations(nolock) WHERE description LIKE '%parallelism%' update sys.configurations set value_in_use=1 where name='max degree of parallelism' I get an error that: Ad hoc updates to system catalogs are not allowed. I think it's

What are the DAC endpoints for Australia datacenters?

*爱你&永不变心* 提交于 2019-12-12 03:09:41
问题 I'm attempting to use the Azure SQL Service Management REST API to Export Database. Unfortunately the above documentation does not list any of the Australian Region servers. Does anyone know if what the uriBase values are or if they are even supported in the Australia region? 回答1: try these: Australia East: https://aueprod-dacsvc.azure.com/dacwebservice.svc Australia Southeast: https://auseprod-dacsvc.azure.com/dacwebservice.svc 来源: https://stackoverflow.com/questions/28534062/what-are-the

Twitter like Model using SQL Server/Azure or Graph DB

落爺英雄遲暮 提交于 2019-12-12 02:59:19
问题 Is it possible to design a twitter like DB using SQL server? a DB that will ensure high scalability and fast queries. I am building a .NET platform that requires a similar model like twitter (User, Follower, Tweet) and looking into what will fit best in terms of fast queries and scalability. Will it be possible using a relational DB or is a graph db much better? 回答1: SQL Server will most certainly be able to handle any load that you have. SQL Azure supports databases up to 150GB (though I

No Basic/Standard/Premium options for SQL Azure database

北战南征 提交于 2019-12-12 02:47:17
问题 I am willing to switch to new Standard SQL Azure database tier, but there is just no such option in my Azure Portal. I have only the option between Web and Business. What is the problem? 回答1: Could it be because these services are still in Preview mode and you have not enabled this in your subscription. I'm also seeing the same behavior in my subscription. To enable this, please visit https://account.windowsazure.com/PreviewFeatures and click on try it now button next to New Service Tiers for

How to query in a specific database on Azure?

坚强是说给别人听的谎言 提交于 2019-12-12 02:20:00
问题 I'm trying to execute a (very) simple query on Azure MSSql Server using PHP, but it does not work and prints the follow message: Warning: mssql_query(): message: Invalid object name 'MyTable'. (severity 16) I believe that the underlying driver is connecting directly the master database and that's why my objects are not available. So the obvious solution could be mssql_select_db() function, but it raises the follow error message: Warning: mssql_select_db(): message: USE statement is not

Is it expected that SQLAzure is unavailable from time to time?

限于喜欢 提交于 2019-12-12 02:16:34
问题 I am connecting to SQLAzure from my Azure service. Most of the time, things work fine. However, once in a while (about once a day), I am unable to connect. It lasts about 5 minutes. I get the following error: SQLException: A network-related or instance-specific error occurred while establishing a connection to SQL Server Is this to be expected? Is it part of cloud programming? Am I supposed to program defensively against it? 回答1: Yes, this is expected. It is expected in your connections and

Start-AzureSqlDatabaseExport: Object reference not set to an instance of an object

帅比萌擦擦* 提交于 2019-12-12 01:37:09
问题 I am trying to start an export of a SQL Azure database to a blob. However, after trying different approaches and searching the web I can't find a way to make it work. $exportRequest = Start-AzureSqlDatabaseExport -SqlConnectionContext $SqlContext -StorageContainer $Container -DatabaseName 'Users' -BlobName 'autobackupotest.bacpac' -Verbose -Debug The line above results in: DEBUG: 2:05:14 PM - StartAzureSqlDatabaseExport begin processing with ParameterSet 'ByContainerObject'. WARNING: Client