I installed VS 11 beta and SQL Server 2012 on my development machine and at one point, I was asked to upgrade my database from version 661 (SQL Server 2008 R2) to SQL Server 2012.
I clicked yes, continued building, and now I’ve just realized that the file won’t deploy in SQL Server 2008 R2, which is the version installed on the staging server (I don’t control that machine).
I’ve thought of exporting the database to another format (access for instance) and reimporting it in SQL Server 2008 R2. Is that the best way to solve my problem? Is there another better way?
Thanks for your suggestions.
Look at this 10-minute solution to learn how to recreate your upgraded database using “Generate SQL Server Scripts” wizard.