In mysql if we make a query like this:
select 1<0 ->the result would be 0 (incorrect because 1 is not less then 0)
select 1>0 ->the result would be 1 (correct because 1 is not more then 0)
it's mean that : 0=False, 1=True
Wednesday, April 11, 2007
MySQL Boolean/Integer Result Field
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment