Bugs item #2879008, was opened at 2009-10-14 18:06
Message generated for change (Tracker Item Submitted) made by cornuz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2879008&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SQL/Core
Group: SQL "candidate"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Roberto Cornacchia (cornuz)
Assigned to: Niels Nes (nielsnes)
Summary: SQL: WHERE A.x LIKE A.y misses results

Initial Comment:
create table a (x varchar(10);
insert into a values ('aaa');

create table b (x varchar(10);
insert into b values ('aaa');
insert into b values ('aAa');
insert into b values ('aA');

create ab as select a.x as x, b.x as y from a,b;

select x from ab where x LIKE y;

Returns the correct result: 
+-------+
| x     |
+=======+
| aaa   |
+-------+
1 tuple


However, the case insensitive version returns the same result as LIKE:

select x from ab where x ILIKE y;
+-------+
| x     |
+=======+
| aaa   |
+-------+
1 tuple

It misses 'aAa'



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2879008&group_id=56967

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to