mysql si un champ est un nombre

SELECT count(*) FROM zhongkongbean  where (EnrollNumber REGEXP '[^0-9.]') = 0


L'instruction SQL ci-dessus prend un champ comme un nombre pur

A publié 51 articles originaux · Comme 4 · Visiteur 7885

Je suppose que tu aimes

Origine blog.csdn.net/u012174809/article/details/103352793
conseillé
Classement