Forum Widgets
Latest Discussions
Azure SQL server rollback itself?
We have an Azure SQL server. It is a datasource of a Power App canvas app. Today I connected to it with SSMS v19. First, I ran 'Begin tran' twice (is it a mistake?). Then 'Delete From dbo.table1 where ID=30' and another row with ID=31. Then I verified these 2 rows are deleted by 'Select * from dbo.table1' Finally, I ran 'Commit tran' I verified again above 2 rows are deleted by 'Select * from dbo.table1' However, there is no change in the Power App. So I reopen the SSMS and connect to the DB again. This time when I ran 'Select * from dbo.table1', the 2 rows are showing up. What could be the problem? Is it a bug in old version SSMS?SharePointAdmin1030Sep 22, 2025Copper Contributor27Views0likes0CommentsAzure SQL Firewall / Locks
Hi there, I have 2 environments. I'm more of admin on Azure environment (recently made as subscription admin) after which Dev issue - Azure SQL I'm having difficulty to remove IP from Azure SQL Firewall. (Earlier i was able to) today my manager granted me subscription admin and as SQL Security Manager and it still not able to remove grayed out IPs.AJ-AJAug 06, 2025Copper Contributor51Views0likes0CommentsBetter way to check database for dups
I have vba in Excel that incorporates SQL to iterate through all the records in a sheet and checks the databsase for that record using a combination of two fields to make a unique id. If it's in the database then it's deleted from the sheet. Otherwise it goes to the next one. Easy enough. I've had this code for years and it's always been fine but now there are too many records to do it this way. It takes too long. What would be a better way to query the SQL database to return those records that are dups and then delete them from the sheet. Here's an idea of the snippet of code I currently use: 'i is the record number from bottom to top For i = DataSheet.Range("A" & Rows.Count).End(xlUp).Row To 2 Step -1 CountyName = DataSheet.Cells(i, 1).Value CaseNumber = DataSheet.Cells(i, 3).Value strSQL = "SELECT County, Case_Number FROM tblAdLetter " & _ "WHERE County = '" & CountyName & "' AND Case_Number = '" & CaseNumber & "'" rs.Open strSQL, cn If Not rs.EOF Then DataSheet.Rows(i).Delete End If rs.Close Next i Is there a better way or faster way? todTod_LayAug 06, 2025Copper Contributor31Views0likes0CommentsReplicate Azure SQL database with a lag
Hello, I am new to Azure SQL database. I am being asked by my manager to replicate our Azure SQL databases to an Azure SQL VM with a lag of 3 hours. Does anyone know what solutions are available? Thank you.pasAug 04, 2025Copper Contributor114Views1like2CommentsAzure SQL Managed Instance - DB Backup Retention
Dear All, We have requirement for backup retention as below: (1) PITR for 2 months (2) To be able to restore backup of any day (time doesn't matter) for 1 year Can you please advise how to accoplish above? Thank you.SolvedAlwaysTheLearnerJul 31, 2025Copper Contributor158Views0likes3CommentsDropping interimTables
Is there a script to allow the dropping all InterimTables from a database without having to do them one by one. I seem to have built up an amount of these when building tables from various pipelines that have failed.Roop_s610May 08, 2025Copper Contributor67Views0likes1CommentDecrease used storage in Azure
Hello, I want to reduce the storage used by an azure SQL database. I have managed to reduce the "allocated space" to below 6 GB. Can I change the "Max storage" to 6 GB without impact on the database itself? I can not find a definite answer online. Kind Regards, BasSolvedbstraaten1973Mar 19, 2025Copper Contributor203Views0likes3CommentsExtend the period of storing telemetry of all services of my subscription.
I have had now 4 support cases in which i see strange behavior of my services in the Azure cloud. For this i created support cases. We are a software company building solution on the Microsoft stack. In case of an incident we first look to our solution and will do an RCA. Sometimes the root cause is not related to our solution but to the Azure services. When seeing this we create a MS support case. It will take some time for MS to understand the case. A lot of time the case, is moved to different engineers. Because of this we run out of the 30 days for which telemetry of our services are available for the MS engineers. So we loose all interesting data to find the Root cause. Please extend the 30 days. This is really too short for analyzing situations. In our company we store telemetry information for 1 year. It is not acceptable for our customers that we do not know the root cause of the incident.AndrevandeGraafFeb 04, 2025Copper Contributor192Views0likes6CommentsGlobal secure access client doesn't connect to the Azure SQL Server engine
Unlike other resources such as keyvault, cosmosdb, virtual machine; it is not possible to connect to SQL Databases. Has anyone tried to achieve the connection without having to add the ip in the server engine firewall?ksalazar1655Jan 08, 2025Copper Contributor73Views0likes0CommentsAzureSQL DB looks empty when it's not
Hi, Quite often it happens that DB does not show any items (tables, views, scripts etc. - any item) in it. At the same time one user can see everything when other not. It happens randomly to different users. For now the only way to fix that we found for now is to scale up and down the DB compute power. It's like it "resets" something and suddenly all items are visible again. We're connecting to DB cluster via MSSMS as per screenshot. Anyone know how to fix that for good?Kris_KBDec 23, 2024Copper Contributor64Views0likes0Comments
Resources
Tags
- azure sql database19 Topics
- azure sql16 Topics
- Managed Instance6 Topics
- sql server5 Topics
- development4 Topics
- SQL Connector4 Topics
- azure active directory3 Topics
- security2 Topics
- sql1 Topic