My apologies. With your example; SELECT MOD( X, 2 ), it will do exactly as you
say it will do.
-Original Message-
From: Christoph Boget [mailto:christoph.bo...@gmail.com]
Sent: Tuesday, August 31, 2010 2:26 PM
To: Coll-Barth, Michael
Cc: mysql@lists.mysql.com
Subject: Re: FW: Even or O
> -Original Message-
> From: Christoph Boget [mailto:christoph.bo...@gmail.com]
> http://dev.mysql.com/doc/refman/5.0/en/mathematical-functions.
html#function_mod
>
> SELECT MOD( X, 2 )
>
> where X is your number (or column name). If 0, it's even if
> 1 it's odd.
I think you mean,
> From: James Coffman [mailto:webmas...@cadc.com]
> Hello all,
>
> My website has been hacked using a url such as:
> -1%20union%20all%20select%201,2,concat(username,char(58),passw
> ord),4,5,6%20f
> rom%20users-- .
Without more information, it sounds like simple SQL insertion
> From: James Coffman [mailto:webmas...@cadc.com]
> Hello all,
>
> My website has been hacked using a url such as:
> -1%20union%20all%20select%201,2,concat(username,char(58),passw
> ord),4,5,6%20f
> rom%20users-- .
Without more information, it sounds like simple SQL insertion
> From: Peter Brawley [mailto:peter.braw...@earthlink.net]
>
> An optimist wrote that. A pessimist, Larry Dignan at
> http://blogs.zdnet.com/BTL/?p=16598&tag=nl.e539, wrote point six:
>
> "Oracle gets to kill MySQL. There's no way Ellison will let that
> open source database mess with the ma