Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Transfer database table between two sql server 2008

Posted on 2013-11-18
6
Medium Priority
?
477 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
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 1500 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

885 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