Solved

Copying an SQL datatbase

Posted on 2013-05-24
4
153 Views
Last Modified: 2013-05-24
Dear Experts,

This must be very simple I just want to know the beast way to do it!

I want to copy the sql 2008 database from my dev PC to my server.

Both the dev PC and Server have sql 2008.

What I usually do is detach database copy to the server and attach.

Regards 1752.
0
Comment
Question by:1752
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39193883
please refer below article

http://support.microsoft.com/kb/314546
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 500 total points
ID: 39193886
Firstly read this:

http://stackoverflow.com/questions/610113/sql-server-backup-restore-v-s-detach-attach

Secondly, I personally would do a backup and restore.

Backup the database on the main system, zip the backup and copy to the second machine. In SQL Management Studio, create a new target database if needed and then simply restore the database over the top.
0
 

Author Closing Comment

by:1752
ID: 39193902
Thank You.

I will backup and restore.

Regards
1752
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

728 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