MySQL Forums
Forum List  »  German

Re: es werden keine numerischen Werte gefunden
Posted by: J?rg B?chner
Date: July 09, 2011 11:16AM

Kann ich nicht reproduzieren:

CREATE TABLE kunden (vortel VARCHAR(10));
INSERT INTO kunden VALUES('0043'), ('00431'), ('0044'), ('00432');

mysql> SELECT * FROM kunden WHERE vortel LIKE '%043%';
+--------+
| vortel |
+--------+
| 0043   |
| 00431  |
| 00432  |
+--------+
3 rows in set (0.00 sec)

mysql> SELECT * FROM kunden WHERE vortel='0043';
+--------+
| vortel |
+--------+
| 0043   |
+--------+
1 row in set (0.00 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: es werden keine numerischen Werte gefunden
1024
July 09, 2011 11:16AM


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.