tsql - SQL Server 2005: Arithmetic overflow error converting int to data type numeric -
i have filter column called [order] (data type = decimal(3,1)) in final view 1.0.
list of unique values [order] are:
- 1.0
- 2.0
- 3.0
- 4.0
- 5.0
- 7.0
- 8.0
- 9.0
- 11.0
- 12.0
- 13.0
my sql statement follows:
select [order] [dbo].[vwcoredata_allothercats] [medate] = '2/29/2008' , [order] = 1 -- , [order] = 1.0 -- , [order] = cast(1 decimal(3,1)) -- , [order] = cast(1.0 decimal(3,1)) the commented-out lines shows different methods i've tried. 4 ways results in same error message:
msg 8115, level 16, state 8, line 1
arithmetic overflow error int data type numeric
anyone know going on here?
thanks can provide,
ctb
Comments
Post a Comment