Solved

Transfer database table between two sql server 2008

Posted on 2013-11-18
6
466 Views
Last Modified: 2016-02-11
Hello there,

How can I transfer db tables between two sql server 2008 db which are on different networks.

cheers
Zolf
0
Comment
Question by:zolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 12

Expert Comment

by:Tony303
ID: 39655730
Is this a one off? or a regular thing?
0
 

Author Comment

by:zolf
ID: 39655733
thanks for your feedback. I am developing a software and I need to keep transferring data to the client side once in a while for testing.
0
 
LVL 12

Accepted Solution

by:
Tony303 earned 500 total points
ID: 39655749
For me. I'd just backup the database, take the .bak file to the other network and restore it.

But, if you are just wanting to do a couple of tables then you could export the data to a .csv say, move the csv's to the other network and truncate the tables, then use the import wizard to bring in the csv data.

I have a process that I have daily where I have data from one network exported as a bcp file, then zipped then put onto an FTP server. At my end, I have an SSIS package that gets the file from the FTP, unzips and then runs an import of the bcp files.
(a lot of setup, but since it is daily it is all automated now).
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

Author Comment

by:zolf
ID: 39655762
cheers!!

>> I'd just backup the database, take the .bak file to the other network and restore it.
the problem I have is the db size is big and then I have unreliable internet connection.
0
 
LVL 12

Expert Comment

by:Tony303
ID: 39655823
If your tables have ID's, how about getting the last ID from the destination table. Just export the source records with a greater ID?
0
 

Author Closing Comment

by:zolf
ID: 39661441
thanks
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question