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.
Author |
Topic |
cplusplus
Aged Yak Warrior
567 Posts |
Posted - 2012-03-14 : 13:26:09
|
I am getting the following error: "Arithmetic operation resulted in an overflow" with float datatypein my Sp:i have few variables decalred with float datatypeDECLARE @CurrentAmount floatAre there any other float datatypes which can accomodate huge dollar amounts?thank you very much for the helpful info. |
|
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts |
Posted - 2012-03-14 : 13:30:45
|
I suspect it may be some type of error in your calculations that is causing this - float can hold values up to 10^308 or so - larger than even the US national debt!!http://msdn.microsoft.com/en-us/library/ms173773.aspx It could be a divide by zero, or it could be that there are other intermediate values that are not of float data type. |
 |
|
|
|
|