Announcement that shows amount of users in line.
Code:
update lin2world.dbo.login_announce set announce_msg = 'At this moment ' + convert(varchar,(SELECT top 1 world_user
FROM lin2db.dbo.user_count
WHERE (record_time =
(SELECT MAX(record_time)
FROM lin2db.dbo.user_count))
)) + ' users online.' where announce_id='5'
The procedure is due to create so that actualise the announcement every certain time.
The announcement is due to create manually with you go ID=5 and its delay.
Sorry for my english.