Azure Database Support Blog

Options
415
Jose_Manuel_Jurado on Sep 27 2024 06:01 AM
1,092
Jose_Manuel_Jurado on Sep 09 2024 08:52 AM
2,028
sakshigupta on Aug 18 2024 01:28 AM
1,341
Jose_Manuel_Jurado on Jul 10 2024 04:26 AM
2,117
Jose_Manuel_Jurado on Jul 06 2024 02:49 AM
1,829
Jose_Manuel_Jurado on Jul 02 2024 01:28 AM
2,805
jaigarcimicrosoft on Jun 28 2024 08:54 AM
1,472
Jose_Manuel_Jurado on Jun 21 2024 05:25 AM
2,963
Editah on Jun 19 2024 11:34 AM
1,322
Jose_Manuel_Jurado on Jun 18 2024 01:54 AM
1,485
Jose_Manuel_Jurado on Jun 17 2024 07:26 AM
1,915
Jose_Manuel_Jurado on Jun 16 2024 07:52 AM
1,604
Jose_Manuel_Jurado on May 31 2024 11:31 AM
12.1K
Jose_Manuel_Jurado on May 31 2024 10:55 AM
1,918
Jose_Manuel_Jurado on May 31 2024 01:56 AM
2,302
Jose_Manuel_Jurado on May 30 2024 07:10 AM
1,654
Jose_Manuel_Jurado on May 28 2024 10:17 AM
1,900
Jose_Manuel_Jurado on May 28 2024 05:15 AM
1,595
Jose_Manuel_Jurado on May 27 2024 09:24 AM

Latest Comments

to add your ADF to Azure SQLMI using a system managed identity: 1. go to your Azure Data Factory blade in Azure Portal and enable Managed Identity 2. use SQL SSMS to connect to Azure SQLMI with Entra Admin ID that you set when you created Azure SQLMI 3. add ADF MSI service name (this is the name of ...
0 Likes
how can we download the template? 
0 Likes
@JSBSF You are definitely solving a different problem than I am trying to. 🙂 I am glad you found a solution that works. You can do what you need by comparing used vs. allocated, whereas I need to compare allocated vs MAXSIZE and they just don't make the latter available via TSQL for user databases ...
0 Likes
in How to get Azure SQL database size on Sep 27 2024 09:33 AM
Also I should mention that if you are comparing to the stats displayed on Azure portal, if you shrinkdatabase Azure will reflect the change pretty quickly. This query will take a few minutes to update the sizes. It's as if there is some polling or something going on, and while I was shrinking databa...
0 Likes
in How to get Azure SQL database size on Sep 27 2024 09:27 AM
I just checked. I had modified the query to look like this instead, and this is the one I was eventually using: SELECT rs2.database_name, rs2.storage_in_megabytes , rs2.allocated_storage_in_megabytes, allocated_storage_in_megabytes - storage_in_megabytes differenceFROM sys.resource_stats rs2JOIN (SE...
0 Likes