This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SELECT * FROM sys.views WHERE name LIKE '%BySize%' */ | |
DECLARE @Grouping AS TABLE ( | |
BusinessId INT | |
,SizeInBytes BIGINT | |
) | |
INSERT INTO @Grouping | |
(BusinessId, SizeInBytes) | |
SELECT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you can't get Edge to access localhost websites, run command prompt as administrator and run the following command | |
CheckNetIsolation LoopbackExempt -a -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE [master].[dbo].[LogFileUsage] ( | |
[Id] [int] IDENTITY(1,1) PRIMARY KEY NOT NULL | |
,[DatabaseName] [nvarchar](100) NOT NULL | |
,[LogSize] [real] NOT NULL | |
,[PercentageUsed] [real] NOT NULL | |
,[LogDateTime] [datetime] NOT NULL DEFAULT GETDATE() | |
) |