How to test for null/empty string in Coldfusion query of query?
问题 I've been looking online for a solution, but none's come up. I have a column in a coldfusion query, "date_hired". If I do a cfdump of the query, it shows as a date if its a date or as [empty string] if not. There are 8 records in the query; and some have dates for date_hired and some don't. If I try to do a q of q on this resultset: SELECT date_hired FROM myQuery WHERE date_hired = '' I get an error message saying: Comparison exception while executing =. Unsupported Type Comparison Exception: