code_junkie

How to round a Column defined as Float on INSERT and UPDATE in SQL Server 2005

Nov 14th, 2011
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. update tbl set column = round(column * 100) / 100
  2.  
  3. CONVERT(money, your_float_column)
Add Comment
Please, Sign In to add comment