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 2005 Forums
 Transact-SQL (2005)
 convert money to decimal (10,2)

Author  Topic 

collie
Constraint Violating Yak Guru

400 Posts

Posted - 2010-06-19 : 16:43:32
Hi,

I have to import data from an old db values with data type money and values such as 300340001097.00 into a decimal (10,2) field.
How can i convert the value to decimal?
Thanks

Whisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much.

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2010-06-19 : 19:15:37
300340001097.00 will not fit into a decimal (10,2) field because it has 12 significant digits.



CODO ERGO SUM
Go to Top of Page
   

- Advertisement -