I need to count the number of records that have a specific field populated. The field in question is a text field and defaults to spaces (11 of them) when the field is not populated.
I am querying an SQL Server database and cannot change the bahavior/properties of the tables.
How do I count only those records that have data in them and ignore those records where that field is filled with spaces??
I have tried the following with no success:
Is Not Null
>0
Not Like ” ”
Not Like ” *”
Does anyone have any other ideas?