Bugs item #2562264, was opened at 2009-02-03 23:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2562264&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 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jens Oehlschlägel (jens_oehl)
Assigned to: Niels Nes (nielsnes)
Summary: <= (LE) in CASE interpreted as >= (GE)

Initial Comment:
sql>select x, case when x<=12 then 1 else 0 end as log from (select 10 as x 
union select 11 as x union select 12 as x un
ion select 13 as x) sub;
+----+----+
| x  |log |
+====+====+
| 10 |  0 |
| 11 |  0 |
| 12 |  1 |
| 13 |  1 |
+----+----+

MonetDB June2008 Win32

select x
, case when x<=12 then 1 else 0 end as log 
from (
  select 10 as x 
  union 
  select 11 as x 
  union 
  select 12 as x 
  union 
  select 13 as x
) sub
;


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

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

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to