I have a table with 3 columns. One is sessionID
as int, other one sessionLength
t as int and other sessionActualLength
as int.
sessionLength
is value calculated for time being in online chat in seconds. sessionActualLength
comes in place where in certain hours users get bonuses for being online and each second of their time actually means 1.12 seconds.
I want to calculate sessionActualLength
without actually updating this column so each time sessionLength
is updates and there is a certain time then sessionActualLength
getting higher than actual time.