3

Does SQL Server 2012 or SQL Server Express 2012 work with Visual Studio 2008 applications?

4

2 回答 2

3

As long as your "old" VS 2008 app doesn't use any of the (few) deprecated features of SQL Server 2012 - then yes - I don't see any reason why it shouldn't work.

The key is the use of ADO.NET - it's really more about which database access technology (and which version of the .NET framework) you're using - rather than what Visual Studio version your app was written in. To the app, it's just a server you connect to - using ADO.NET and a connection string - and then you fire off SQL queries against it.

ADO.NET is the preferred way to connect to SQL Server from any .NET application, and it should support any version of SQL Server - from 2000 through 2012 and any edition (Express, Web, Standard, Enterprise, DataCenter - you name it).

于 2012-11-22T06:46:45.943 回答
0

Yes, absolutely vs2012 is compatible with sql server 2008

Here are other compatibility points :- Visual Studio 2012 is compatible with sql server 2008/ 2008 R2 Visual studio 2010 is compatible with sql server 2008 / 2005 Visual Studio 2008 is compatible with sql server 2005

于 2013-08-27T11:53:26.827 回答