Solved

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

Posted on 2014-03-08
2
695 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 500 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

724 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