I have a table called tbl_loans which has the field loan_number.
Loan numbers are like 0001, 0023, 0045 so I want to find out whether there is loan number length is lower than 4 numbers or greater than 4 numbers
Is there easy way to find out this?
More info about the Length MySQL function (and other string functions):
http://dev.mysql.com/doc/refman/5.1/en/string-functions.html#function_length