34,872
社区成员
发帖
与我相关
我的任务
分享select * from tb where where isnumeric(col)=1 and col between 1 and 9 select 1 from tab where patindex('%[a-z,A-Z]%',col1) > 0SQL codeselect col_1 from t_a where col_1 not between 0 and 9select col_1 from t_a where col_1 between 0 and 9
WHERE col NOT LIKE '%[0-9]%'select col_1 from t_a where col_1 between 0 and 9--当有不全是数字的列存在时,将其检索出
select * from tb where where isnumeric(col)=0where isnumeric(col)=1