Select * from 表 where round(字段,2) <> 字段

解决方案 »

  1.   

    如果数据类型的字符型,即有字符"元",用下面这句:select * from 表 where 字段名 like '%.[0-9][^0]元'如果仅是数字,不包含元,就用:
    select * from 表 where 字段名 like '%.[0-9][^0]'
      

  2.   


    select * from yourtable
    where right(cast (字段 as varchar),1)<>0
      

  3.   

    表 a 保存你的数据
    select * from a where a * 10 <> ceiling(a * 10)
      

  4.   

    上面的答案已经很完美了
    select * from 表 where right(cast(字段名 as varchar),1)='0'
      

  5.   

    select * from a where a * 10 <> ceiling(a * 10)
      

  6.   

    select * from a where a * 10 <> ceiling(a * 10)
      

  7.   

    Select * from 表 where right(cast(字段*100 as int),1) <> '0'