Forum Widgets
Latest Discussions
Decrease 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, BasSolvedbstraaten1973May 12, 2025Copper Contributor91Views0likes3CommentsDropping 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 Contributor7Views0likes0CommentsUnable to enable RCSI
We created our Azure SQL database few years ago and at that time RCSI was not a default setting. I am trying to enable RCSI now but unsuccessful. Database details: We have Azure SQL database (single database) in East US. A read replica (Geo-replication) was created against it. Steps identified from documentation to enable RCSI: ALTER DATABASE [DatabaseName] REMOVE SECONDARY ON SERVER [SecondaryServerName]; ALTER DATABASE [DatabaseName] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; ALTER DATABASE [DatabaseName] SET READ_COMMITTED_SNAPSHOT ON; ALTER DATABASE [DatabaseName] SET MULTI_USER; ALTER DATABASE [DatabaseName] ADD SECONDARY ON SERVER [SecondaryServerName]; Second script to set single user returns below error. I am unable to proceed after this. Any help to resolve the problem and enable RCSI is appreciated. Msg 1468, Level 16, State 1, Line 1 The operation cannot be performed on database "[DatabaseName]" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group. Msg 5069, Level 16, State 1, Line 1 ALTER DATABASE statement failed.SolvedswaroopdandalaFeb 13, 2025Copper Contributor123Views0likes2CommentsExtend 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 13, 2025Copper Contributor98Views0likes6Commentshow to export all tables from database
I'm recently started working in Microsoft Synapse and exploring the templates from the gallery available in Synapse "Database templates" and want to export all tables e.g. Automotive. I’ve tried using the DESCRIBE command, but it only gives information about a single table. How can I write a SQL query to export all tables from the database template and export it to CSV? Is there a specific system view or query I should use in Synapse to achieve this? Any help would be appreciated. Thanks in advance!DlknsJan 25, 2025Copper Contributor270Views0likes1CommentGlobal 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 Contributor41Views0likes0CommentsAzureSQL 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 Contributor34Views0likes0CommentsAzure Data Studio - SQL DB Project build error MSB4020
Hi folks. I'm just getting started with ADS as we need to move an existing on-prem DB to Azure. I 'm trying to use ADS to set up the target DB. I installed the SQL Database Projects extension and created a project from our on-prem DB, but every time I try to build it I get Error MSB4020: stdout: C:\Program Files\dotnet\sdk\7.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(1199,3): error MSB4020: The value "" of the "Project" attribute in element <Import> is invalid. [c:\testing\WT pre-migration\WT pre-migration.sqlproj] Here's the proj file: <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build"> <Sdk Name="Microsoft.Build.Sql" Version="0.2.0-preview" /> <PropertyGroup> <Name>WT pre-migration</Name> <ProjectGuid>{AE8E25C1-F1D6-4447-A008-2C24C82B51FA}</ProjectGuid> <DSP>Microsoft.Data.Tools.Schema.Sql.SqlAzureV12DatabaseSchemaProvider</DSP> <ModelCollation>1033, CI</ModelCollation> </PropertyGroup> <Target Name="BeforeBuild"> <Delete Files="$(BaseIntermediateOutputPath)\project.assets.json" /> </Target> </Project>MikeSmith-edu-techDec 18, 2024Copper Contributor77Views0likes0CommentsAZURE SQL DB Deadlock
I see more than 2000 deadlock everyday for my Azure SQL DB in deadlock metrics but at the end it is not causing any missing data or any transaction drop. My application not using any retry logic then how it is possible that deadlock is getting automatically resolved has no impact at all ?sanraj12Dec 03, 2024Copper Contributor38Views0likes0Comments
Resources
Tags
- azure sql database17 Topics
- azure sql15 Topics
- Managed Instance5 Topics
- development4 Topics
- sql server4 Topics
- SQL Connector4 Topics
- azure active directory3 Topics
- security2 Topics
- sql1 Topic