?
Solved

SQL Server - transfer a a sql server database from one laptop to another

Posted on 2014-03-08
2
Medium Priority
?
706 Views
Last Modified: 2014-03-17
I have a SQL Server database created in SQL Server 2008 express on one laptop.  I want to take that database and create it on my new laptop with sql server 2012 installed.  Obviously, I want all of the table structure as well as the data.  How would i best accomplish this?
0
Comment
Question by:vbnetcoder
[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 Comments
 
LVL 27

Accepted Solution

by:
Zberteoc earned 2000 total points
ID: 39914748
Backup on first laptop, copy the .bak file on the new laptop, restore the database, change compatibility to SQL 2012.

Backup: http://www.youtube.com/watch?v=s5DLaR6d3k4

Restore: http://www.howtogeek.com/50354/restoring-a-sql-database-backup-using-sql-server-management-studio/

To change compatibility right click on the database after restore > Properties > Option > Compatibility level. However this step is not necessarily needed, database will work fine without it, but I think is better to take full advantage of SQL 2012.
0
 

Author Closing Comment

by:vbnetcoder
ID: 39934574
That worked.  Thank you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

764 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