I am running a query to pull some database records, but I want to avoid records that have an empty text field.
So I was thinking of something like this:
<CFQUERY>
.
.
.
.
AND (Staff.MName <> '')
</CFQUERY>
but that did not seem to work - there is no space between my single quotes in the CFQuery above.
Any suggestions would be welcome!
So I was thinking of something like this:
<CFQUERY>
.
.
.
.
AND (Staff.MName <> '')
</CFQUERY>
but that did not seem to work - there is no space between my single quotes in the CFQuery above.
Any suggestions would be welcome!