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

x
?
Solved

Copy database

Posted on 2009-04-02
3
Medium Priority
?
212 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Loops Section Overview

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