Quantcast
Channel: Getting started with SQL Server forum
Viewing all articles
Browse latest Browse all 9243

inserting data into database

$
0
0
Hellow, am inserting data into the database in sql server 2005. I've a textbox which captures the product of certain decimal numbers after multiplication of the numbers in other two textboxes visual studio 2010.

The problem is when multiplying the numbers on these textboxes, when the product is small eg 200 there is no any problem but when the product is large eg 20,000 i get an error message "String or binary data would be truncated,The statement has been terminated".

What is the source of this error, how can i solve it?


Viewing all articles
Browse latest Browse all 9243


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>