Database Growth in % daily and Incremental
USE [DailyDatabaseGrowthReport] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[DailyDatabaseGrowthReport] AS BEGIN SET NOCOUNT ON; -- Check and create the table only if it does not exist IF NOT EXISTS (SELECT 1 FROM sys.tables WHERE name = 'DBSizeDailyReport') BEGIN CREATE TABLE [dbo].[DBSizeDailyReport]( [ServerName] nvarchar(100) NOT NULL, [DbName] nvarchar(100) NOT NULL, [SizeInMB] int NOT NULL, [WeekID] int NOT NULL, [Date] datetime NOT NULL, [DayWisePercentageGrowth] decimal(18, 2), [IncrementalPercentage] decimal(18, 2) ); ...