C
Can Of Worms
Is there a way of having 1 query against 1 table that returns 1 row with the
same fields as the base table, and a Count of how many Null Values there are
in each field?
I am building a master attribute table for over 6,000 location, and am
getting that attribute information from all over the place within our company
in an attempt to have 1 master database that everyone can reference.
The problem is, no one table I have getting information from has all 6,000+
locations. They all have around 5,400-6,100 of the location, so my master
table has a fair number of null values, scattered among 51 columns
I am trying to be able to run 1 query that gives me how many pieces of
information are missing from each field. I know I can have 51 individual
queries, each one counting the number of null values, then do one query
joining on those 51 queries, but I have a gut feeling there HAS to be a
better way to do this.
Thanks.
same fields as the base table, and a Count of how many Null Values there are
in each field?
I am building a master attribute table for over 6,000 location, and am
getting that attribute information from all over the place within our company
in an attempt to have 1 master database that everyone can reference.
The problem is, no one table I have getting information from has all 6,000+
locations. They all have around 5,400-6,100 of the location, so my master
table has a fair number of null values, scattered among 51 columns
I am trying to be able to run 1 query that gives me how many pieces of
information are missing from each field. I know I can have 51 individual
queries, each one counting the number of null values, then do one query
joining on those 51 queries, but I have a gut feeling there HAS to be a
better way to do this.
Thanks.