vendredi 11 septembre 2015

How to check if a value is a number in SQLite

I have a column that contains numbers and other string values (like "?", "???", etc.)

Is it possible to add an "is number" condition to the where clause in SQLite? Something like:

select * from mytable where isnumber(mycolumn)

Aucun commentaire:

Enregistrer un commentaire