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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Run a stored procedure automatically
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

omidshf
Starting Member

5 Posts

Posted - 12/09/2011 :  04:52:19  Show Profile  Reply with Quote
can a stored procedure run automatically when data files attach to a database?

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 12/09/2011 :  05:04:16  Show Profile  Reply with Quote
nope..it cant be triggered synchroinously like that
However you can schedule a job in sql server agent and make it call procedure according to a schedule though not dependent on attach step

------------------------------------------------------------------------------------------------------
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.03 seconds. Powered By: Snitz Forums 2000