Solved

Transfer database table between two sql server 2008

Posted on 2013-11-18
6
455 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
  • 3
  • 3
6 Comments
 
LVL 12

Expert Comment

by:Tony303
Comment Utility
Is this a one off? or a regular thing?
0
 

Author Comment

by:zolf
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:zolf
Comment Utility
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
Comment Utility
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
Comment Utility
thanks
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Read about achieving the basic levels of HRIS security in the workplace.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now