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.
Author |
Topic |
omidshf
Starting Member
5 Posts |
Posted - 2011-12-09 : 04:52:19
|
can a stored procedure run automatically when data files attach to a database? |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-12-09 : 05:04:16
|
nope..it cant be triggered synchroinously like thatHowever 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 MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|