TSQL To Get All the Names of tables and Databases whose data have changed in last 24 Hours
-- ============================================= -- Author: Muhammad Jawad -- Create date: 2/2/2017 -- Description: To Get All the Names of tables and Databases whose data have changed in last 24 Hours -- ============================================= ALTER PROC UP_FindAllDatabaseHaveChanges AS BEGIN DECLARE @loopStart INT= 1; DECLARE @looend INT; IF OBJECT_ID('tempdb..#AllDatabaseTables') IS NOT NULL BEGIN DROP TABLE #AllDatabaseTables; END; CREATE TABLE #AllDatabaseTables ( ID INT IDENTITY(1, 1) PRIMARY KEY , ...
Comments
Post a Comment