![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In SQL Server 2000 the following works but in 2005 it gave me an error. Msg 8115, Level 16, State 1, Line 1 Arithmetic overflow error converting numeric to data type numeric. Thanks |
#3
| |||
| |||
|
|
This is twice now you posted a question but did not include the example. Can you please post exactly what the commands are you are trying to run when you get the error? -- Andrew J. Kelly SQL MVP "Rogers" <naissani (AT) hotmail (DOT) com> wrote in message news:eZFuAaMkHHA.1216 (AT) TK2MSFTNGP03 (DOT) phx.gbl... In SQL Server 2000 the following works but in 2005 it gave me an error. Msg 8115, Level 16, State 1, Line 1 Arithmetic overflow error converting numeric to data type numeric. Thanks |
#4
| |||
| |||
|
|
I did but I don't know why commands are not sending... "Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message news:uw%23cndNkHHA.5048 (AT) TK2MSFTNGP04 (DOT) phx.gbl... This is twice now you posted a question but did not include the example. Can you please post exactly what the commands are you are trying to run when you get the error? -- Andrew J. Kelly SQL MVP "Rogers" <naissani (AT) hotmail (DOT) com> wrote in message news:eZFuAaMkHHA.1216 (AT) TK2MSFTNGP03 (DOT) phx.gbl... In SQL Server 2000 the following works but in 2005 it gave me an error. Msg 8115, Level 16, State 1, Line 1 Arithmetic overflow error converting numeric to data type numeric. Thanks |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Any idea on how to determine which field no longer is correct? |
|
The Query I post on my database gave the same error: SELECT TOP 10000 A.[unid] FROM [dbo].[hardware] A INNER JOIN (SELECT TOP 1000 B.[recordid] AS [recordid],B.[ranking] AS [ranking] FROM [dbo].[hardware] C INNER JOIN (SELECT D.[recordid],(SUM( D.[weight]))/(SUM( E.[count])) AS [ranking] FROM (SELECT F.[recordid],F.[tableid],F.[woordid],((COUNT( F.[woordid])+0.0))/(7) AS [weight],0 AS [ignore],CASE WHEN F.[woordid]=N'5b0001' THEN 1 ELSE 0 END AS [notOr],0 AS [OrGroup0] FROM [dbo].[woordindex] F WHERE (F.[tableid]=5) AND (F.[woordid] IN(N'5b0001')) GROUP BY F.[recordid],F.[tableid],F.[woordid]) D INNER JOIN [dbo].[recordwoordcount] E ON ((E.[recordid]=D.[recordid]) AND (E.[tableid]=D.[tableid])) AND (ABS(E.[recordstatus])=1) GROUP BY D.[recordid] HAVING SUM( D.[notOr])>=1) B ON C.[unid]=B.[recordid] WHERE (C.[status]=1) OR (C.[status]=-1) ORDER BY ranking DESC) G ON G.[recordid]=A.[unid] WHERE A.[status]=1 ORDER BY A.[naam] ASC Msg 8115, Level 16, State 1, Line 1 Arithmetic overflow error converting numeric to data type numeric. Any idea on how to determine which field no longer is correct? From http://www.google.nl/search?q=Msg+81...&start=10&sa=N Posted via DevelopmentNow.com Groups http://www.developmentnow.com/g/ |
#7
| |||
| |||
|
|
The Query I post on my database gave the same error: SELECT TOP 10000 A.[unid] FROM [dbo].[hardware] A INNER JOIN (SELECT TOP 1000 B.[recordid] AS [recordid],B.[ranking] AS [ranking] FROM [dbo].[hardware] C INNER JOIN (SELECT D.[recordid],(SUM( D.[weight]))/(SUM( E.[count])) AS [ranking] FROM (SELECT F.[recordid],F.[tableid],F.[woordid],((COUNT( F.[woordid])+0.0))/(7) AS [weight],0 AS [ignore],CASE WHEN |
|
FROM [dbo].[woordindex] F WHERE (F.[tableid]=5) AND (F.[woordid] IN(N'5b0001')) GROUP BY F.[recordid],F.[tableid],F.[woordid]) D INNER JOIN |
|
Msg 8115, Level 16, State 1, Line 1 Arithmetic overflow error converting numeric to data type numeric. Any idea on how to determine which field no longer is correct? |
![]() |
| Thread Tools | |
| Display Modes | |
| |