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
 General SQL Server Forums
 New to SQL Server Programming
 Overflow

Author  Topic 

Harhour
Starting Member

3 Posts

Posted - 2010-11-07 : 05:41:03
i have this number 8004027452
what is the best data type to save in database please help
i am using asp textbox to fill with this number 8004027452
but i am getting Message = "Arithmetic operation resulted in an overflow."

please i need urgent help

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-11-07 : 06:18:59
The max value for an INT is
2147483647

So you should use BIGINT (max value 9223372036854775807)

But the question is if you need a numeric datatype...
We don't know.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -