07213E71
is a floating number 7213 with 71 zeros
You can use this ISNUMERIC(myValue + '.0e0')
to test for whole integers. Slightly cryptic but works.
Another test is the double negative myValue NOT LIKE '%[^0-9]%'
which allows only digits 0 to 9.
ISNUMERIC has other issues in that these all return 1: +
, -
,
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…