Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 table field datatype

Author  Topic 

fmardani
Constraint Violating Yak Guru

433 Posts

Posted - 2007-02-23 : 04:28:50
What datatype should I use for a field in my sql server table that should be able to hold values such as:
-1.092
0
2.9875645
25436.432567

etc.
Thanks

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-02-23 : 04:32:37
what is the precision that you required ? Use float if you required high precision else numeric / decimal should be sufficient. But do note that float value is approximate value.


KH

Go to Top of Page
   

- Advertisement -