![]() |
|
|
#10 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Small fix to your SQL.
Hardly noticable, but it may have been a character's first login, in that event logout would be null. Code:
-- Charis start update lin2world.dbo.user_data set logout = getdate() where login > logout -- Charis end Code:
update lin2world.dbo.user_data set logout = getdate() where login > isnull(logout, 0) |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|