I'm trying to move my database.mdf file from a development environment to a SQL Server Express server that is hosted on my VPS - but I can't figure out how to attach the file to my database server. Help!
views:
1820answers:
3
+2
A:
sp_attach_db
(or CREATE DATABASE FOR ATTACH) - don't forget to bring the LDF (log) files, too.
Cade Roux
2008-11-19 17:26:56
+2
A:
I am not sure if you can, but you could use the Sql Studio Management Express, which allows you to connect (and then attach) the database.
Your application could also be using a local instance and directly connect to the database.mdf in the app.data folder.
Tomas Pajonk
2008-11-19 17:27:57