Mysql tiny question

有个字段为char类型,长度设定为3,存储的内容为单字符,然后在where条件匹配的时候match到0个结果,很是疑惑,后来尝试把char长度设定为1,顺利匹配到结果。 最近折腾mysql比较多,真是碰到不少问题。

自 WAP 发表

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>