Even when i add the max i still get the same error.
(0 row(s) affected)
Msg 8115, Level 16, State 2, Line 23
Arithmetic overflow error converting expression to data type datetime.
The statement has been terminated.
begin
Update SC_Trophies
Set Value = Value + 1
where SC_TROPHIES.USERID in...
it just suppose to check to see if a week has gone by if so it needs to update the data in the table. Meaning the update only runs if a week has gone by.
Thanks,
Tim
I get this error now.
Thanks,
Tim
(4 row(s) affected)
(0 row(s) affected)
(4 row(s) affected)
Msg 8115, Level 16, State 2, Procedure TrophyCase_CalcWeeklyTopTen, Line 60
Arithmetic overflow error converting expression to data type datetime.
The statement has been terminated.
(0 row(s)...
I get this error when using "> dateadd(day,7,(select TRDate from SC_Trophies Where UserId = 29))" the full query is below with the error. Any ideas on how I could resolve this problem would be most welcomed. The query works fine it seems with out the date part.
Thanks in Advance,
Tim
Msg...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.