128 reputation
114
bio website wwwexe.inf.ufsc.br/…
location Florianópolis, Brazil
age 26
visits member for 2 years, 10 months
seen Mar 6 '12 at 19:10

Brazilian Information Systems student at UFSC (Federal University of Santa Catarina) with interest in game programming and Artificial Intelligence.


Feb
9
comment How to cast an integer to a boolean in a MySQL SELECT clause?
Could it return 2 strings, instead of 0 and 1?
Feb
9
comment How to cast an integer to a boolean in a MySQL SELECT clause?
Basically what you're saying is that in a View it is impossible to have a boolean value based on a calculation?
Feb
9
comment How to cast an integer to a boolean in a MySQL SELECT clause?
The problem is that it is somehow yelded to Int, where it should at least be bit, which I could use to do the mapping. The cast function doesn't intend to do that? Sorry if the question sounds dumb, I just don't have that much of a DB knowledge.
Feb
9
comment How to cast an integer to a boolean in a MySQL SELECT clause?
if(gu.StoppingUnitEventME = ese.MonitoringElement, true, false) AS IsStopingEvent returns 0 and 1.