Export database from SQL Server 2008 R2 Instance to SQL Express 2008
I ran into a issue about Import/Export on SQL Server.
I have a database on SQL Server 2008 R2 instance running on my laptop.I want to attach it on a SQL Server Express 2008 instance running on Windows 2003 server.
Due there is no management studio on my server Is it possible to export database from SQL Server 2008 R2 to SQL Express 2008 instance ? Depend on this an开发者_如何学Goswer I think its possible. But when I want to use Import Export tool on destination setting I should choose destination configuration. How can I get around this? I want to know Is it possible to move R2 schema data to SQL Server 2008 express using Import / Export tool ? If yes I think it generate script for us and I don't have management studio on server. Is it possible to execute generated script on a management studio running on my system and then move MDF file to server ? P S : Should I ask this question on DBA ?You already asked this question on dba.stackexchange.com:
https://dba.stackexchange.com/questions/5923/attach-sql-server-2008-r2-on-sql-server-express-2008/
The answer hasn't changed. You can't attach/restore a 2008 R2 database to a 2008 instance. You either need to upgrade the 2008 instance to 2008 R2, or you need to move the schema and data in another way. For example, the import/export wizard should help with this (if it's not working, you need to explain what that means), as will 3rd party tools - see some options here.
P S : Should I ask this question on DBA ?
Yes.
But, to answer your question, you can't restore from 2008R2 to 2008. I know the naming convention used is, at best, completely confusing, the reality is that they are 2 separate versions just like 2005 and 2008, and are unable to restore to previous versions.
精彩评论