【发布时间】:2015-09-11 17:11:41
【问题描述】:
我有一列包含数字和其他字符串值(如“?”、“???”等)
是否可以在 SQLite 的 where 子句中添加“is number”条件?比如:
select * from mytable where isnumber(mycolumn)
【问题讨论】:
-
使用正则表达式。 sqllite 支持这些。 stackoverflow.com/questions/5071601/…
-
这些数字是实际数字,还是包含数字的字符串?