473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Data transfers

Hey All,

I am trying to write an app that will transfer data from one SQL Server to
another. Here is my situation:
I have 2 computers neither one is connected.
I have the same database on both computers.
I need to update the data at the end of the night to reflect the changes on
the particular database.
So the data collected on computer1 needs to get to computer2 and the data on
computer2 needs to get to computer1.

The question is.....What is the best way to do this?
Thanks ahead of time,
Sean


Nov 15 '05 #1
1 1546
Sean,

The best way to do this is actually to use the Data Transformation
Services. It is used to transfer data between two data sources which have
OLE-DB providers for them. You can easily transfer data between two SQL
servers with this.

Check out the section of the MSDN documentation titled "Data
Transformation Services API", located at (watch for line wrap):

http://msdn.microsoft.com/library/de...ar_ad_2zjn.asp

This is a COM API, so you will have to use COM interop to access it.

Also, you might want to look into SQL server replication, which you
would access through COM Interop as well, using the SQL DMO library.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sean McKaharay" <se************@expoexchange.com> wrote in message
news:es*************@TK2MSFTNGP11.phx.gbl...
Hey All,

I am trying to write an app that will transfer data from one SQL Server to another. Here is my situation:
I have 2 computers neither one is connected.
I have the same database on both computers.
I need to update the data at the end of the night to reflect the changes on the particular database.
So the data collected on computer1 needs to get to computer2 and the data on computer2 needs to get to computer1.

The question is.....What is the best way to do this?
Thanks ahead of time,
Sean

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: | last post by:
I am having a major problem with file transfers - they are ending early when the bandwidth tops-out. Smaller files transfer just fine, but large files (12Mb+) can 'abort' the transfer after maybe...
1
by: Nathan Bloom | last post by:
Hi, I have a procedure that transfer data from an Excel spreadsheet to an Access 2000 table. There is a start date and an end date in the range specified. One of the date fields transfers...
3
by: Shmulik | last post by:
I have an application written in C# that creates a queue of items to process, connects via a TCP connection to a server on a Unix box, and then passes data files to the Unix box for processing...
1
by: BStrick | last post by:
I would like to know what may be the "Best" way to approach with problem. I have an application that I created to transfers data dynamically from an unknown source (ie maybe Excel, Access, XML,...
9
by: David Harris | last post by:
Ok, so I'm semi-new to .NET, having done everything manually with SQL code back in VB6. So before I program this up completely manually again, I thought I'd ask for better ways to think through...
2
by: =?Utf-8?B?SkRhdmlkZQ==?= | last post by:
Hello again! :( I'm trying to implement asynchronous DnD (and Copy/Paste) in a custom NSE: despite the lack of documentation, I found that i need my DataObject implement the optional interface...
7
by: Scott Gifford | last post by:
As a possible solution to a problem I'm trying to solve with an iterator (see an earlier post by me with subject "Iterator implementation questions: copy constructor and postfix increment"), I'm...
4
by: rakesh.usenet | last post by:
For a particular application of mine - I need a simulation of byte array output stream. * write data onto a stream * getback the contiguous content as an array later for network transport. ...
4
by: rsmolik | last post by:
Hi, I have a list box that allows you to select multiple values and then transfers the selected values to a table. I have almost cracked this but I am having a small problem; My code is as...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.