select * from table where not isnumeric(id)

解决方案 »

  1.   

    select * from temp id not in (like '[0-9]'
      

  2.   

    select * from temp id not in (like '[0-9]')
      

  3.   

    to  microlong(微龙)各位表的字段是varchar,其中还有小数点,你的语句有点问题?
      

  4.   

    select idnumeric(id) from table
      

  5.   

    SELECT * FROM TableName 
    WHERE PATINDEX('%[^0-9.]%',ID)>0
      

  6.   

    1.select isnumeric(id) from table
    2.select * from table where id like ('%[0-9]%')
      

  7.   

    最好用isnumeric函数。飘香兄的语句有些小bug。
    要是有这样的字符呢:
    '123.45.678'    --两个小数点
      

  8.   

    select * from table where isnumeric(id) <> 1