Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I export a SQL Server 2008 database?

Is it possible to export my database that i created in SQL Server 2008 Express?

I'm asking this because I need my group mate to be able to work on the same one. I know you can generate a script for the database but it give a bunch of errors when we try to run it.

like image 710
Dynamiite Avatar asked Dec 04 '22 12:12

Dynamiite


2 Answers

You can right click the dbase then Task->Backup
This will generate a .bak file which you can Task->Restore to a new database

You can refer here http://msdn.microsoft.com/en-us//library/ms187048.aspx

like image 105
c0dem0nkey Avatar answered Dec 08 '22 05:12

c0dem0nkey


Yes. You can export your sqlserver database by using these steps.

  1. Right click on your database and hover on Tasks, you got another dropdown, Select Back Up.

  2. You got a pop-up like this. enter image description here

  3. Click on OK button.

  4. Navigate to path on your local PC (C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\your database)

  5. You got your exported database.

like image 26
FIFO BIZSOL Avatar answered Dec 08 '22 04:12

FIFO BIZSOL