Solved

Transfer database table between two sql server 2008

Posted on 2013-11-18
6
456 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 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…
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.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

895 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

15 Experts available now in Live!

Get 1:1 Help Now