Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 3rd, 2003, 06:42 AM
Registered User
Join Date: Nov 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Insert data across different server from Trigger


I would like to know, which is the best method for data transfer across two different SQL servers. My requirement is, to get data from one server and populate tables on the other. is it okay if I use trigger on the first Server's table? Data flow is only one way. From first server to second.



Reply With Quote
  #2 (permalink)  
Old November 3rd, 2003, 07:05 AM
Authorized User
Join Date: Jun 2003
Location: Edinburgh, , United Kingdom.
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts


The method I use is to populate a set of staging tables from the triggers. I have a DTS set up to transfer the data from Server1 (staging tables) to Server 2 (staging tables). Once the data is in Server2 staging tables I execute SPs to insert the data into the 'real' tables.

The main advantage of this is that the DTS is run on a schedule out of hours so if large amounts of data is transferred then it does not affect performance. I also have a lot of validation to perform so I can do this in the SPs before I populate the 'real' tables.

This is 1 method out of many ways to transfer the data and I hope it helps give you an idea on how to tranfer your data.

Reply With Quote

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
How to insert Data from Excel file to SQL server yes_no ASP.NET 1.0 and 1.1 Professional 5 August 27th, 2008 12:46 AM
Insert Trigger debbiecoates SQL Server 2000 3 December 24th, 2007 08:00 AM
Insert data row in SQL SERVER 2000 dimeanel ADO.NET 1 January 25th, 2006 09:32 AM
trigger to insert current date on insert kev_79 SQL Server 2000 3 January 23rd, 2006 05:58 PM
Insert Trigger Arsi SQL Server 2000 2 February 25th, 2005 05:41 PM

All times are GMT -4. The time now is 05:26 PM.

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