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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-03-03 : 08:45:04
|
altimebest1 writes "I have summarized my table and created a view, I hoped to query preformatted reports on it but each time I run a query say SELECT * FROM AggregatedExports I got the query result but I received this error:(17458 row(s) affected)Server: Msg 8115, Level 16, State 2, Line 1Arithmetic overflow error converting expression to data type int.My base table is : comCode char 7 monthcode char 2 year char 3 countryCode char 3 quantity int fobvalue money insurance money freight money I'm new in sqlserver2000 and vbstudio.net2003 I'll deeply appreciate your assistance. Thank you." |
|
|
blindman
Master Smack Fu Yak Hacker
2365 Posts |
Posted - 2006-03-03 : 08:50:16
|
| Post the code for the AggregatedImports view. I suspect you have some bad number data formatted as strings, or you need to use the bigint datatype instead. |
 |
|
|
|
|
|