|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Schedule a Stored Procedure on a HOSTED DB???
I need to run a stored procedure (on a hosted server) every 24 hours. The hosted server won't allow me to store jobs, so that is out.... I do have a local SQL server, is it possible to store the job on the local server, but have it run on the hosted server? Any other ideas? I am currently running the SP from an ASP page that I call daily, but I would prefer to just call the SP from SQL.
Thanks, Scott |
|
#2
|
||||
|
||||
|
You could try creating a local DTS package (data transformation services) that contains a connection that points to the remote host (via ip address) and then add a "Sql task" that executes (EXEC) the stored procedure. Never done this, but in theory it seems like it should work. If it works, you can easily schedule a DTS package to run every 24 hours.
|
|
#3
|
|||
|
|||
|
Exactly what I was looking for, Thanks!
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Schedule a Stored Procedure on a HOSTED DB??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|