Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个运行的有问题的脚本,所以我需要选择所有包含不是直向上整数的值的行。我该怎么做呢?ISSTRING 在 Google 搜索中,但我收到一条错误消息,提示 ISSTRING 不存在。:(
到目前为止,我一直很困惑:
SELECT id, area, city FROM `homes` WHERE ISSTRING(`area`) OR ISSTRING(`city`)
没有任何运气...
RegExp 有效,但我要做的是检查 abs() 是否等于零并且该字段不为零。我认为这会比 RegExp 更快。
SELECT id, area, city FROM `homes` WHERE (abs(area) = 0 AND area != '0') OR (abs(city) = 0 AND city != '0')