azure-sql-database

Imported Azure SQL Database always sizes at 250GB

走远了吗. 提交于 2021-01-07 00:57:28
问题 I have the issue that setting up a new SQL DB bacpac import (S3 Standard) always has a max size of 250 GB - just as if the parameter 'DatabaseMaxSizeBytes' gets omitted. Here the code: $sdvobjDbImport = New-AzureRmSqlDatabaseImport ` -ResourceGroupName $sdvstrSqlsResourceGroupName ` -ServerName $sdvstrSqlsName ` -AdministratorLogin $sdvstrAdminLI ` -AdministratorLoginPassword $sdvsstrAdminPW ` -DatabaseName $sdvstrDatabaseName ` -Edition $sdvstrDbEditionAtImport ` -ServiceObjectiveName

Equivalent of XP_CMDSHELL in AzureDB

北城以北 提交于 2021-01-05 11:58:54
问题 I'm using SQL Server as a service on a MS Azure VM and I would like to use xp_cmdshell in a stored procedure but I get the below error/information message: The module 'ProcExportFacturaEDI_Manual2' depends on the missing object 'xp_cmdshell'. The module will still be created; however, it cannot run successfully until the object exists. I read online and find out that in MS Azure is not working. Does anyone know what's the equivalent of it or how can I use it in Azure? EDIT I did install it,

Equivalent of XP_CMDSHELL in AzureDB

无人久伴 提交于 2021-01-05 11:58:10
问题 I'm using SQL Server as a service on a MS Azure VM and I would like to use xp_cmdshell in a stored procedure but I get the below error/information message: The module 'ProcExportFacturaEDI_Manual2' depends on the missing object 'xp_cmdshell'. The module will still be created; however, it cannot run successfully until the object exists. I read online and find out that in MS Azure is not working. Does anyone know what's the equivalent of it or how can I use it in Azure? EDIT I did install it,

Primary key in an Azure SQL database

妖精的绣舞 提交于 2021-01-02 08:13:10
问题 I'm working on a distributed system that uses CQRS and DDD principles. Based on that I decided that the primary keys of my entities should be guids, which are generated by my domain (and not by the database). I have been reading about guids as primary keys. However, it seems that some of the best practices are not valid anymore if applied to Azure SQL database. Sequential guids are nice if you use an on premise SQL server machine - the sequential guids that are generated will always be unique

How to view history of queries (all OR over a long period) performed on database which is hosted on Azure?

独自空忆成欢 提交于 2020-12-29 00:48:07
问题 For a database hosted on Azure, i can view the recent history of the queries performed on it. This is through the Azure portal > Database > Manage > Administration > Query Performance . Unfortunately, the history found there, only covers a small time frame (few minutes). I intend to create non-clustered indexes on my database and for that, need to get a log of the real queries run on the data on a typical day, as opposed to the past few minutes. Currently, i have to keep refreshing the page

How to view history of queries (all OR over a long period) performed on database which is hosted on Azure?

白昼怎懂夜的黑 提交于 2020-12-29 00:44:42
问题 For a database hosted on Azure, i can view the recent history of the queries performed on it. This is through the Azure portal > Database > Manage > Administration > Query Performance . Unfortunately, the history found there, only covers a small time frame (few minutes). I intend to create non-clustered indexes on my database and for that, need to get a log of the real queries run on the data on a typical day, as opposed to the past few minutes. Currently, i have to keep refreshing the page

How to view history of queries (all OR over a long period) performed on database which is hosted on Azure?

*爱你&永不变心* 提交于 2020-12-29 00:43:56
问题 For a database hosted on Azure, i can view the recent history of the queries performed on it. This is through the Azure portal > Database > Manage > Administration > Query Performance . Unfortunately, the history found there, only covers a small time frame (few minutes). I intend to create non-clustered indexes on my database and for that, need to get a log of the real queries run on the data on a typical day, as opposed to the past few minutes. Currently, i have to keep refreshing the page

Azure functions: Unable to load DLL 'sni.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)

扶醉桌前 提交于 2020-12-27 06:58:17
问题 Trying to run this Azure Function in Azure portal but fails with above title error: using System; using System.IO; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Primitives; using Newtonsoft.Json; using System.Data.SqlClient; public static string Run(HttpRequest req, ILogger log) { string name="dbconn"; string conStr = System

Azure Data Factory Get Metadata to get blob filenames and transfer them to Azure SQL database table

心不动则不痛 提交于 2020-12-15 08:34:51
问题 I am trying to use Get Metadata activity in Azure Data Factory in order to get blob filenames and copy them to Azure SQL database table. I follow this tutorial: https://www.mssqltips.com/sqlservertip/6246/azure-data-factory-get-metadata-example/ Here is my pipeline, Copy Data > Source is the source destination of the blob files in my Blob storage. I need to specify my source file as binary because they are *.jpeg files. For my Copy Data > Sink, its the Azure SQL database, I enable the option

Azure Data Factory Get Metadata to get blob filenames and transfer them to Azure SQL database table

大兔子大兔子 提交于 2020-12-15 08:34:25
问题 I am trying to use Get Metadata activity in Azure Data Factory in order to get blob filenames and copy them to Azure SQL database table. I follow this tutorial: https://www.mssqltips.com/sqlservertip/6246/azure-data-factory-get-metadata-example/ Here is my pipeline, Copy Data > Source is the source destination of the blob files in my Blob storage. I need to specify my source file as binary because they are *.jpeg files. For my Copy Data > Sink, its the Azure SQL database, I enable the option