I'm trying to check several fields for having a length greater than zero.
Examples for field (LastName):
'madison' = GOOD
'm' = GOOD
'' = FAIL
NULL = FAIL
I need a way to check that the field has a character in it, not just say a blank space should a user start to enter the value, then backspace it clear. This action results in a blank space instead of a NULL value, but neither are allowed on the MySQL Server.
Does anyone have any ideas? My SQL is still pretty low-level.

New Topic/Question
Reply



MultiQuote










|