473,396 Members | 1,892 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,396 software developers and data experts.

Moving Data tables between SQL Servers

I have user that we just migrated his Access database to SQL
Server. All went well with the migration, but then he came up with
another requirement to be able to replicate the database to a local
SQL server living on the hard drive of a laptop. Before the migration
he just copied the entire Access databse to the lap top.
I tried using the Copy SQL Server Objects Task to move the
necessary tables from the production server to the laptop, but noticed
it doesn't copy over the table Indexes/keys identiy fields etc. I
ended up backing up the production database and restoring it to the
laptop database, but wondered if there is any way to move the tables,
with their properties from one server to another? I know I can set
up the backup process to run as scheduled, but the problem is the data
needs to be moved on an irregular time table. I thought about just
writing code on the remaining Access front end to empty the local
tables and then query the data from the production side to reload
them, but I'm sure there's an easier way.
Any suggestions would be appreciated.
Thanks,
Tom
Jul 20 '05 #1
1 10504
Tom Loach (tc***@virginia.edu) writes:
I have user that we just migrated his Access database to SQL
Server. All went well with the migration, but then he came up with
another requirement to be able to replicate the database to a local
SQL server living on the hard drive of a laptop. Before the migration
he just copied the entire Access databse to the lap top.
I tried using the Copy SQL Server Objects Task to move the
necessary tables from the production server to the laptop, but noticed
it doesn't copy over the table Indexes/keys identiy fields etc. I
ended up backing up the production database and restoring it to the
laptop database, but wondered if there is any way to move the tables,
with their properties from one server to another? I know I can set
up the backup process to run as scheduled, but the problem is the data
needs to be moved on an irregular time table. I thought about just
writing code on the remaining Access front end to empty the local
tables and then query the data from the production side to reload
them, but I'm sure there's an easier way.


I don't know the exact requirements of this user, but backup/restore
sounds the safest and soundest way to go. A simple way would be to
backup fairly often, and when the user connects he can restore as
he wishes.

Another alternative is to set up replication. This can work more seamlessly
once you have it running, but it takes more work to go there.

--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #2

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

Similar topics

2
by: djc | last post by:
I need to use data from multiple tables that are located in 2 different databases. Most of the tables are in SQL Server 2000 but 1 one the tables I need to include in my query resides in an...
0
by: Luc Foisy | last post by:
Last week many of our server and client servers had a power problem. Not = quite sure how the servers were handled, wasn't on site, but I don't = think some of these servers got shut down...
1
by: Ben M. | last post by:
Greetings all, This should be an easy task, and Im sure it is, but as many times as I have tried, I cant seem to get this to work properly. We changed ISPs recently from a shared host to a...
2
by: Ringo Langly | last post by:
Hi everyone, I have 5 servers, all with identical databases just different data. I have a rather lengthy SQL statement (in a View) to hit one database and pull-in certain data, but I'd like to...
2
by: moller | last post by:
Im looking in to the possibility of moving from mySQL to an access database. My reasons are: (1) Database is single user. (2) Database local on users PC. (3) Database has only 8 tables where 4...
3
by: Iavor Raytchev | last post by:
Hello, We a situation with a central database that contains the data that needs to be presented at N off-line terminals (N can be 5 000 can be 15 000). Each terminal presents unique data. The...
2
by: db2dude | last post by:
Hello all, I have a database around 600GB and all tables were self-created by the application. Hence, we have only one huge SMS tablespace where all the tables are stored. To get better...
2
by: fuzzybr80 | last post by:
I am using MySQL 5.0 with a number of innodb tables whose ibdata files are growing quite quickly and filling up the /var partition (file is /var/mysql/ibdata1). Earlier on I followed instructions...
3
by: Don Miller | last post by:
In my migration from ASP to ASP.NET 2.0, I have a fair number of complicated HTML tables that defy anything .NET can do. Using classic ASP I created these tables (by string concatenation) by moving...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.