Question

i am using sql server 2012 express.But when i execute '@@version' query it is showing "Microsoft SQL Server 2005 - 9.00.3042.00" and most of the queries like 'fetch' is not working anymore.How can i change the database engine back to sql server 2012?

Était-ce utile?

La solution

ALTER DATABASE database_name SET COMPATIBILITY_LEVEL = 110

Autres conseils

i think you are talking about server not database. if its database you can go ahead by changing db compatibility

if your version is showing 2005 instead 2012 , check version of sql server.exe , seems your version is not modified while upgrading. Advice to re-run setup , if this doesnt detect sql server then apply sql 2012 service pack SP1. this will update registry and dlls.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top