Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 04.08.2005, 06:46   #1
erloko
Архивный участник
 
Join Date: Jul 2005
Posts: 42
Default [sharing] Set announce, users online

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.
erloko is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:21.