SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Server agent
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

global_erp_solution
Starting Member

28 Posts

Posted - 09/23/2012 :  11:17:12  Show Profile  Reply with Quote
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

India
47157 Posts

Posted - 09/23/2012 :  20:15:06  Show Profile  Reply with Quote
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 - 09/23/2012 :  23:07:33  Show Profile  Reply with Quote
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

India
47157 Posts

Posted - 09/23/2012 :  23:30:02  Show Profile  Reply with Quote
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 - 09/23/2012 :  23:52:50  Show Profile  Reply with Quote
okay, thanks for the info. cheers
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47157 Posts

Posted - 09/24/2012 :  03:06:10  Show Profile  Reply with Quote
welcome

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

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000