Greetings,
I am getting a data conversion error I cannot explain!
This statement
UPDATE dbImageList
set cx = COS(RADIANS(CRV AL2))*COS(RADIA NS(CRVAL1)),
cy = COS(RADIANS(CRV AL2))SIN(RADIAN S(CRVAL1)),
cz = SIN(RADIANS(CRV AL2))
results in this error message
Msg 8115, Level 16, State 2, Line 1
Arithmetic overflow error converting expression to data type float.
The statement has been terminated.
However, all fields crval1,crval2,c x,cy,cz are datatype float in the
table.
Any suggestions on how to perform this computation?
Thanks
-Brian
I am getting a data conversion error I cannot explain!
This statement
UPDATE dbImageList
set cx = COS(RADIANS(CRV AL2))*COS(RADIA NS(CRVAL1)),
cy = COS(RADIANS(CRV AL2))SIN(RADIAN S(CRVAL1)),
cz = SIN(RADIANS(CRV AL2))
results in this error message
Msg 8115, Level 16, State 2, Line 1
Arithmetic overflow error converting expression to data type float.
The statement has been terminated.
However, all fields crval1,crval2,c x,cy,cz are datatype float in the
table.
Any suggestions on how to perform this computation?
Thanks
-Brian
Comment