How we can add week days like Monday , Tuesday so on and time with it.
This query shows week by week data collection, But how we can add week days like Monday , Tuesday so on and time with it. Declare @beginDate int = 0; Declare @pendDate int = 1; CREATE TABLE #Test(WeekStart varchar(15), WeekEnd varchar(15)) …
Use Autonomous Transaction in Azure SQL Database
Hello, I need to replicate Oracle's autonomous transaction in Azure SQL Database. I know I can use CLRs in SQL On-premise and Azure SQL Database Managed Instance, but I have a requirement to work on Azure SQL Database and CLRs are not supported in…
Azure Batch: execute Java processes
I'm looking at Azure Batch in order to let it executes on a distributed pool of VMs a set of Business Rules. I've seen that there is a Java SDK but it's not clear where I've to put "my business logic". I've seen that Java SDK let me define and…
Changing the Azure SQL db master db compatability level
Hello, Are there potentially adverse results from changing and Azure SQLdb's master databases compatibility level? Thanks Frank
Azure SQL Features for Standard and Premium in DTU model and GP and Business Critical in vCore based purchasing Model
I would like to know whether the features mentioned in the below URL are same for both Standard and General purpose service tiers under the two purchasing models namely DTU and vCore. …
Is it possible from Azure SQL database hosted in one subcription to query Azure SQL Database hosted in different subcription under same tenant?
Is it possible from Azure SQL database hosted in one subscription to query Azure SQL Database hosted in different subscription under same tenant?
Failure to notify user of completed Job
Hello. I'm using Windows 2016 and MS SQL Server Management Studio 18.6 I created a Job and want to be notified when it completes. I created Mail account and profile. Email Test works fine. I created a Job for backup. In Job 'properties' I selected…
Always on 2012 on windows 2012 on azure vm
Hi support May I know windows 2012R2 sql 2012 always on support on azure vm? Can use azure shared disk as fsw(cloud witness is not support in windows 2012)?
CI/CD Implementation for AZURE SQL DB in Azure DevOps
Hi Team, I want to implement CI/CD Process for Azure SQL Database.As i have implemented for Azure Data factory,But i don't have any idea about CI/CD process for Azure SQL database.Could you please someone help me out to implement this if anyone has…
Can't open SQL Server Management Studio 18 - "MRU Package did not load correctly" and "Cannot create the window"
This issue is driving me crazy. I can't open SQL Server Management Studio (SSMS) 18. When I try to open it I get the follow things: Starts fine with the small window that says "Microsoft SQL Server Management Studio v18.6"... But then I…
How to convert this query to 52 weeks rolling based data.
I have CTE which is quite manual so everytime I have to change week number and days thing in this query. With CTE_Deprivation_Live20 As ( Select m.PeopleID ,DateDiff(yy,P.DateOfBirth,GetDate()) as Age, m.LocationName,m.ActiveStart,m.ActiveEnd, …
Entity Framework automatically creates database when it doesn't exist
We have a problem that is unfortunately costing us alot of money. We are using MVC 5 with Entity Framework 6. Our problem is, if we are using a database that doesn't exist, it will create it, but it creates a General Purpose Gen5 database. As we usually…
What is the OS used by Azure SQL
We are in the process of certifying our product with Azure SQL as back end. Considering our entire product being hosted on AKS , Linux based VM , would like to know the OS type of Azure SQL.
Are Instance Pools and Elastic Pools same when it comes to Azure SQL PaaS?
Are Instance Pools and Azure SQL Elastic Pools same thing when it comes to Azure SQL PaaS ? In the video https://www.youtube.com/watch?v=aRwJGaB3zsA it mentions about Instance Pool, so i would like to know if it is same as Elastic Pool or not. Thanks
How to bind database to new TDE Cert?
This is the code I use for the binding to new cert. USE [AGplaceholder] GO ALTER DATABASE ENCRYPTION KEY ENCRYPTION BY SERVER CERTIFICATE NEWTDECert; GO From this Updating an expired SQL Server TDE certificate article. However, it's not working when…
Azure machine learning - Trying to use an analytical function from SQLite results in error
When trying to use the LAG function from SQLite on an Apply SQL Transformation module from Azure Machine Learning designer results in a error, saying the sintax near "(" was wrong. The SQL code: select t1.id, t1.veiculo, lag(t1.id)…
Unable to correctly pass parameter to command parameter in Azure Elastic job stored procedure [jobs].[sp_add_jobstep]
Dear Experts, I have this on premise job which purges data weekly on my database. I have replicated similar job using Elastic job agents for Azure SQL DB. The syntax for the job script is below. I see that the job is not running on Elastic job agents…
Azure Managed Database Backup Reporting
We've setup a Managed database in a SQL Managed Instance and we need to report on the backup status. I appreciate that backups are a mixture of full, incremental and transaction logs, but we need some form of reporting to indicate when a backups are run.…
What is the PERSISTED_VERSION_CLEANER process?
I would like to know about this process: What is its purpose? When is it running? What does it perform? Why does it use a lot of CPU&DATAIO? I cannot find any documentation about PERSISTED_VERSION_CLEANER.
how can a row version be less than a previous one in a later insert in a later batch
Hi we run 2014 developer where this occurred. i'm looking at evidence that a row version in my most recent set of inserts has a lower value than that of an insert from a previous batch. i thought that was impossible. arent row versions always…