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
 General SQL Server Forums
 New to SQL Server Programming
 SQL Server agent

Author  Topic 

global_erp_solution
Starting Member

28 Posts

Posted - 2012-09-23 : 11:17:12
I wish to excute some stored procedure or function or any other program unit in SQL Server 2008 fortnightly. AFAIK, I must use agent for this. is this correct? can anybody please give me example? thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-23 : 20:15:06
yes. you need to add a sql agent job with a step which calls this procedure and attach it to schedule to execute fortnightly



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

Go to Top of Page

global_erp_solution
Starting Member

28 Posts

Posted - 2012-09-23 : 23:07:33
could you please give me example how to do this? I'm practising using SQL 2008 R2 express edition. is this feature available in this version? thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-23 : 23:30:02
SQL Server agent is not available in SQL 2008 express. if you want to use it you need to install atleast developer edition

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

Go to Top of Page

global_erp_solution
Starting Member

28 Posts

Posted - 2012-09-23 : 23:52:50
okay, thanks for the info. cheers
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-24 : 03:06:10
welcome

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

Go to Top of Page
   

- Advertisement -