azure-sql-database

How are Azure BACPAC backup files different than SQL Server BAK files?

让人想犯罪 __ 提交于 2019-12-13 13:13:17
问题 Are BACPAC and BAK files conceptually the same thing? A single, self contained file in which you can use to backup/restore a database? 回答1: BACPAC files are not transactionally consistent and that can lead to a database where data is not consistent across tables. Here's what I mean by this: if you start the process of creating a BACPAC and while that's going some data gets updated in the source database then the BACPAC file could contain data from table A as it was at 1:00 PM and also data

What happened to the SQL Server Database Migration Wizard?

好久不见. 提交于 2019-12-13 11:53:59
问题 The "SQL Server Database Migration Wizard" aka SQL Azure Migration Wizard previously located at http://sqlazuremw.codeplex.com/, but it is gone. I attempted to search via Google for its new home, but I cannot find it. Does anyone know where this tool has gone? 回答1: It is replaced with Data Migration assistant.. Data Migration Assistant (DMA) enables you to upgrade to a modern data platform by detecting compatibility issues that can impact database functionality on your new version of SQL

How do i run aspnet_regsql on sql azure? [duplicate]

耗尽温柔 提交于 2019-12-13 11:41:28
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Migrating ASP.NET Membership Database to SQL Azure How do I run aspnet_regsql on sql azure database? I made it work the hard way, by exporting all db objects over. However, I seriously believe that there's an easier way. Please help. 回答1: When you run aspnet_regsql on sql azure database, the error occurs only because SQL Azure does not support the USE statement to switch database contexts when it executes

How to override local connection string with azure connection string at runtime? [duplicate]

假如想象 提交于 2019-12-13 11:28:25
问题 This question already has an answer here : how to override local connection string with azure connection string (1 answer) Closed last year . I have written connection string in appsettings.json for .Net core project. My connection string is : "ConnectionStrings": { "OT_DB_Connection": "Data Source=108.***.**.**;Initial Catalog=O*******s;User ID=O*******s;Password=O*********$" }, I am accessing this connection string in startup.cs file as shown below. options.UseSqlServer(Configuration

How do I connect to Azure using unixODBC and FreeTDS?

青春壹個敷衍的年華 提交于 2019-12-13 08:17:20
问题 I'm on CentOS and I can log into my database using the following: TDSVER=7.2 tsql -H example.database.windows.net -U myname -D MyDataBase -p 1433 Then I put in my password and I can log in A-OK. Unfortunately isql / osql seem to have much more difficulty doing the same thing. My config looks like this: ~/.odbc.ini [AwesomeDatabase] Description = Azure Awesome Database Trace = off Server = example.database.windows.net Database = AwesomeDatabase UID = wayne@example PWD = mypassword Port = 1433

Impossible to connect to Azure SQL database with ipv6 address due to recent forced update from v11 to v12

試著忘記壹切 提交于 2019-12-13 07:28:23
问题 In the early September Microsoft forced me to migrate from Azure SQL Database v11 to v12. My Internet Service Provider (ISP) assign me only ipv6 address and Azure doesn't allow connections through its firewall with this kind of address. Until the past month I used the web browser to access the database management. Now with the upgraded version, Microsoft decided to close the access with web browser to the database management and obliges to connect with Visual Studio or SQL Server Management

pypyodbc: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send())

白昼怎懂夜的黑 提交于 2019-12-13 07:13:11
问题 My python script reads through around half of the dataset (around 5000 rows out of 10000) and all of a sudden produces this error midway: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send()) I'm using pypyodbc to connect to the Azure SQL server. I haven't been able to find the solution anywhere online. I don't even know whats the cause that's leading to this error. Please help. 回答1: Hope you are doing well. Have you had a chance to look at pyodbc and pymssql? They have a

Setting time Zone in MS SQL Server Database

夙愿已清 提交于 2019-12-13 06:31:08
问题 i am using php with mssql, on windows azure cloud storage , when i insert datetime with code then it insert '2013-05-30 11:31:47.000' (which is correct time with indian time zone) but when i use getdate() to insert in other column it inserts '2013-05-30 06:01:46.507' any idea how can we set default time zone to indian delhi - with any database settings /azure ? 回答1: According to MSDN, getdate() returns the current database system timestamp: This value is derived from the operating system of

How to set PITR for all databases in a Azure Sql Database Elastic Pool?

▼魔方 西西 提交于 2019-12-13 04:34:41
问题 I think I'm running into version issues because the cmdlet I want seems to only be available in AzureRM.Sql module version 4.7.0-preview . I want to set the PITR retention policy for many databases in an elastic pool to 35 days. By default my vCore pool has a retention policy of 7 days which is not enough. I have hundreds of databases so need to set them all with PowerShell. If I get the list of databases to update with Get-AzureRmSqlElasticPoolDatabase and then try to run Set

How to import xls into Azure Database?

霸气de小男生 提交于 2019-12-13 04:23:15
问题 Our database needs to be filled with the zip code for every state in our country, we are provided with a catalog of zip codes in a xls file, we have to import this file to a table in a database hosted in Windows Azure. I don't know if Stack Overflow allows me to post a link to our xls, but I'll describe the structure of the file: Every sheet holds the zip code information for a whole state, inside every sheet we have fifteen columns with information such as zip code, type of terrain, type of