![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a situation where I want to take data from a local sql server 2000 db and update a remote database. I have the sql all set, was wondering if this can be done in a timed interval with a stored procedure on the local db. Thanks in advance for your time Dean-O |
#3
| |||
| |||
|
|
I have a situation where I want to take data from a local sql server 2000 db and update a remote database. I have the sql all set, was wondering if this can be done in a timed interval with a stored procedure on the local db. Thanks in advance for your time Dean-O |
#4
| |||
| |||
|
|
Hi Simon has given you some alternatives, other alternatives may be DTS or running the SQL (as a stored procedure). With SQL Server, if you wish to schedule a timed event then usually SQLServerAgent is used to schedule these. Agent jobs can be configured using Enterprise manager or using the stored procedures sp_add_job, sp_add_jobstep and sp_add_jobschedule. Each step can run a specific type of process (subsystem) such as 'CMDEXEC' - an operating system command or executable. This could be used to run DTSRun which can start a DTS job another alternative solution! 'TSQL' - a transact-SQL statement (which can be a stored procedure). John "rockie12" <rockie12 (AT) dtnspeed (DOT) net> wrote in message news:d10dd1b6.0407171755.7a658d6b (AT) posting (DOT) google.com... I have a situation where I want to take data from a local sql server 2000 db and update a remote database. I have the sql all set, was wondering if this can be done in a timed interval with a stored procedure on the local db. Thanks in advance for your time Dean-O |
#5
| |||
| |||
|
|
More detail on the situation. The databases are one different servers. I want to set up a situation where the remote database will have a procedure that will run when the home base database is available and update the home base database. Sort of a sync function. |
![]() |
| Thread Tools | |
| Display Modes | |
| |