July 20, 2007 at 11:26 am
The ReplyAVMLotsize field is an 'INT' datatype, while the sa_lotsize is a decimal(14,0)
I need to update the AVMLotSize with the SA_lotsize.
However, I can run the updates below for a 100 records, but then I get the following error message
Msg 8115, Level 16, State 2, Line 3
Arithmetic overflow error converting expression to data type int.
The statement has been terminated.
I tried both cast and convert...
update
details
set
AVMLotSize = CONVERT(int, sa_LotSize)
from
details
where
sa_property_id = sa_property_id
and
avmlotsize is null
or
update
details
set
AVMLotSize = cast(sa_LotSize as int)
from
details
where
sa_property_id = sa_property_id
and
avmlotsize is null
July 20, 2007 at 11:38 am
July 20, 2007 at 11:39 am
Figured it out..
Thanks
Susan
July 20, 2007 at 12:06 pm
glad you figured it out, but it would be beneficial to others that read this post to know what the issue was, as there be others with a similar issue.
July 20, 2007 at 12:24 pm
July 20, 2007 at 5:11 pm
Susan,
Please post what you figured out... thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply