select cast(字段 as int) from 表

解决方案 »

  1.   

    --测试数据
    declare @t table(col float)
    insert @t select 2.00000000E-6
    union all select 3.3999999
    union all select 12.000001--查询
    select cast(col as int) as col from @t/*--结果
    col         
    ----------- 
    0
    3
    12(所影响的行数为 3 行)
    --*/
      

  2.   

    select convert(decimal(16,1),列) from 表
      

  3.   

    --也可以:
    select convert(numeric(16,1),列) from 表