If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I am trying to select only the records from a table based on the existence of a character in one of the positions within a particular field. The field type is varchar(19). Can anyone help me with this problem.
SELECT * from t where LOCATE(your_character, your_field) = your_position
Quote:
Originally Posted by cartjohn
I am trying to select only the records from a table based on the existence of a character in one of the positions within a particular field. The field type is varchar(19). Can anyone help me with this problem.