?
Solved

Copy database

Posted on 2009-04-02
3
Medium Priority
?
213 Views
Last Modified: 2012-05-06
What would be the easiest way to copy a database from a SQL database to a SQL express databse on my local machine?
0
Comment
Question by:thenrich
3 Comments
 
LVL 12

Expert Comment

by:udaya kumar laligondla
ID: 24051782
options
1. backup at A and restore at B
2. generate the scipt of the database using (database publishing wizard) and execute the same at destination
3. replication
0
 
LVL 5

Author Comment

by:thenrich
ID: 24052792
What does that mean to 'backup'? I don't need the whole server only 1 database in the server. The data wold be groing from sql2k to sql express. I think it just might be easist to write a .NET app to do it. I can manage 2 connections and do what I need. I was just wondering if there was some standard protacol I was missing.
0
 
LVL 29

Accepted Solution

by:
Nightman earned 2000 total points
ID: 24053742
The standard protocol is to "backup" the database. This does not mean the whole server, just the physical database file itself. You then copy it to the SQL Express machine and restore it onto the SQL Express instance.

Here is a detailed article for backing up and restoring databases on SQL2K.

http://technet.microsoft.com/en-us/library/cc966495.aspx
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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. …
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

571 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