怎么样查找字段中含有非数字字符的记录?(SQL2000) select * from table where not isnumeric(id) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from temp id not in (like '[0-9]' select * from temp id not in (like '[0-9]') to microlong(微龙)各位表的字段是varchar,其中还有小数点,你的语句有点问题? select idnumeric(id) from table SELECT * FROM TableName WHERE PATINDEX('%[^0-9.]%',ID)>0 1.select isnumeric(id) from table2.select * from table where id like ('%[0-9]%') 最好用isnumeric函数。飘香兄的语句有些小bug。要是有这样的字符呢:'123.45.678' --两个小数点 select * from table where isnumeric(id) <> 1 相同表数据复制的问题。 要统计一个表里,销售数量最大的前N位的商品数量的总和. 如何将数据库附加到SQL SERVER数据库上 sql2000 强制订阅oracle 数据库时的问题 sql问题 行转列.真的有点难哦 一个查询显示问题,恳请各位指教! [分享帖]再次散分分享:如何屏蔽成功备份产生的ERRORLOG信息 这样写带参数的SQL语句为什么不对? 对声明了变量的游标应该怎么写打开语句? 请教菜单的问题 高分求一个SQL语句
WHERE PATINDEX('%[^0-9.]%',ID)>0
2.select * from table where id like ('%[0-9]%')
要是有这样的字符呢:
'123.45.678' --两个小数点