I have 15 tables and they all have the columns CreationDate and LastModifiedDate is there a way to query all the tables and look for null values in the tables.
This is what I am thinking I have to do but was wondering if there is a more efficient way or easier way to do the following
Select COUNT(*) FROM Table1, Table2, Table3
WHERE table1.CreationDate IS NULL
OR table1.LastModifiedDate IS NULL
OR table2.CreationDate IS NULL
OR table2.LastModifiedDate IS NULL
OR table3.CreationDate IS NULL
OR table3.LastModifiedDate IS NULL