Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Thursday, August 3, 2017

Find fields, where all values are NULL

SQLServerCentral » Latest topics
Find fields, where all values are NULL
Hi all!

I have to go through several 100 tables.
Many of them hae not used fields, where all fields are NULL

To find it it one field in one table is pretty uncomplicated, something like:

SELECT COUNT(BES_END_DATO_BESOEG)FRO

No comments: