MySQL Forums
Forum List  »  Newbie

Strict Matching For Selects
Posted by: patkins2474
Date: August 30, 2004 06:30PM

All,

Someone please explain why this would match and return a row. I'm not using WHERE id LIKE '%297%' or something that you would expect this type of response.

mysql> SELECT id, fullname, firstname, lastname, createdate FROM test WHERE id='297asd';
+-----+-------+-----------+----------+------------+
| id | bname | firstname | lastname | createdate |
+-----+-------+-----------+----------+------------+
| 297 | , | NULL | NULL | 20040830 |
+-----+-------+-----------+----------+------------+
1 row in set (0.00 sec)

Options: ReplyQuote


Subject
Written By
Posted
Strict Matching For Selects
August 30, 2004 06:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.