This scans the field (which can contain Upper or Lower case)
for the word BAD... the locate would return the starting positon
of the word BAD..
example LOCATE would return 9
Anyway here ya go... Just ran across it and thought it
need to be shared.
for the word BAD... the locate would return the starting positon
of the word BAD..
example LOCATE would return 9
Code:
this is Bad
need to be shared.
PHP Code:
SELECT sdsl#, SDEVCM, LOCATE('BAD', UPPER(SDEVCM) )
FROM SLDCOMM
WHERE LOCATE('BAD', UPPER(SDEVCM)) <> 0
Comment