I have an application with a rather long chain of upgrade scripts. The application works in SQL Server 2005 - I'm trying to upgrade it so it will also work in SQL Compact 3.5
Part of the script involves dropping old indexes if they exist.
I REALLY want to have one script that can handle both scenarios. I've been having a lot of success so far. But I think I'm in trouble with this one.
Is there a way to do this in one script? Or do I need to keep two versions?