Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 How to execute Stored Procedure at specific time

Author  Topic 

MrProgrammer
Starting Member

3 Posts

Posted - 2011-11-10 : 03:43:05
Hi every body,

I want to execute Stored Procedure at specific time,
Example:
Suppose in my website i have Users, and i want to block one User to prevent him from add topics,
i will block him and store in database datetime 08/12/2011 06:59:13 am to remove the block.
i want when the datetime 08/12/2011 06:59:13 am in database is come an stored procedure is execute and remove the block for specific user

How to do that please
Thanks.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-11-10 : 03:45:48
you can add a job in sql server agent to call this procedure and set a schedule for that to be executed at your convenient time

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -