Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 30th, 2008, 07:27 PM
Registered User
 
Join Date: Jan 2008
Location: Medellin, Antioquia, Colombia.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to dfgilto
Default job schedule every minute for a stored procedure

hi, i need to synchronize a table from a database to two tables on a different database. I was thinking in a stored procedure to do it and create a job that execute it every minute.

I don't know if this is the right method... maybe it can be a bad decision for the server performance.

Anyone can help me to do that?

Thanks.

Daniel Gil
Reply With Quote
  #2 (permalink)  
Old February 7th, 2008, 07:30 PM
Friend of Wrox
 
Join Date: Aug 2004
Location: Orange County, CA, USA.
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You may want to consider doing a trigger.

Depends on the volume of data your dealing with. A trigger can be setup when you insert or update a value in table one. It fires and takes that data and can send it to a remote location. In your design if no records changed, you would fire the stored proc off 60 times an hour. A trigger fires off for every insert, update or delete or whatever you set it up for.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stored Procedure muthu555 SQL Server 2000 1 March 5th, 2007 07:13 AM
stored procedure keyvanjan Classic ASP Basics 2 May 26th, 2006 01:16 AM
DST schedule job failed. khautinh SQL Server DTS 3 December 23rd, 2004 03:59 PM
submitting Oracle stored procedure or UNIX job bigraym Classic ASP Professional 0 December 22nd, 2003 02:14 PM
submitting Oracle stored procedure or UNIX job bigraym Classic ASP Basics 0 December 22nd, 2003 11:41 AM



All times are GMT -4. The time now is 03:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.