I've successfully migrated a website running a SQL Server 2005 db to a new server running SQL Server 2008 R2 and everything seems to work fine except 1 thing.
2 different schemas where used when creating the tables (I have no idea why). So you have to call the tables using a multipart identifier like schemaname.tablename except in the websites sql code they call everything using either just tablename or schemaname.tablename which worked before but not now.
The website itself is a huge mess and would be extremely difficult to find and modify all the sql queries.
Does anyone know how I can change it so it allows queries with just tablename again?