Bug #20936 | STORED-PROCEDURES:SELECT ... WHERE ... IN ( ) statement doesn't work as expected | ||
---|---|---|---|
Submitted: | 10 Jul 2006 12:12 | Modified: | 20 Jul 2006 10:05 |
Reporter: | Dogus Yildirim | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 5.0.18 | OS: | Windows (Windows XP SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | in condition, select statement, stored procedure, where condition |
[10 Jul 2006 12:12]
Dogus Yildirim
[20 Jul 2006 10:05]
Valeriy Kravchuk
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc. Can you run the following select outside of SP successfully, SELECT a,b FROM `test_tbl` WHERE a IN ('A,B,C'); Yes. You'll get all rows WHERE a = 'A,B,C'. It is not the same as: SELECT a,b FROM `test_tbl` WHERE a IN ('A','B',C'); Same in stored procedure...