MySQL Forums
Forum List  »  Newbie

Re: Radio button from form, binary attribute
Posted by: Roland Bouman
Date: July 21, 2005 04:54AM

You cannot use the binary keyword there. This keyword is not part of a datatype specification, it is used to require binary comparision (as opposed to comparision using a specific collation) as in:

WHERE BINARY mycharfield = 'CaseSensitive'

Maybe, you meant to use something like this:

S1 BIT not null default 0

but BIT is already a synonym for tinyint, so i gues you're already there

Options: ReplyQuote


Subject
Written By
Posted
Re: Radio button from form, binary attribute
July 21, 2005 04:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.