Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/09/2008, 16:25
Avatar de GeoAvila
GeoAvila
Colaborador
 
Fecha de Ingreso: diciembre-2003
Ubicación: Antigua Guatemala
Mensajes: 4.032
Antigüedad: 21 años, 3 meses
Puntos: 53
Respuesta: Error Numero:8115 Arithmetic overflow error converting numeric to data typ

para mí desde mi punto de vista updata en esta parte es así

TiempoRetaTrans = (case when '17/09/2008 10:00 ' is null then 0 else
(case when isnull('17/09/2008 10:00 ','19000101') = '19000101' then 0 else convert(decimal(6,2),(datediff(mi, '17/09/2008 10:00 ',getdate())/60.00 )) - 2 end) end)

valorCampo = (Case When UnValor= 1 then 0 else
(Case when OtroValor = 1 Then 1 else 3 end) end)

probá hacer los cambios en la consulta y me decis..

nos vemos.
__________________
* Antes de preguntar lee las FAQ, y por favor no hagas preguntas en las FAQ
Sitio http://www.geoavila.com twitter: @GeoAvila