Is a mysql case value of datatype tinyint or varchar? -
Naturally a boolean value is a boolean datatype (or bull, tinent or whatever similar typo current program language likes to call it)
when reputation & gt; = '9' then 'correct' 'incorrect' as the end boolean profile WHERE custid = '1'
Is it short or varchar?
The word boolean
is actually a column nickname, not a new data Type which you have not seen before; -)
& gt; Selection 'true' as Boolean
Output:
+ --------- + | Boolean + --------- + | True | Whatever expression expression is, type in a case like a CHAR
or VARCHAR
.
Comments
Post a Comment