SQL server 2012. Exception: attempted to read or write protected memory (MS.VS.OLE.Interop)

前端 未结 4 684
迷失自我
迷失自我 2021-02-11 12:39

I am more an end-user of SQL Server 2012. When I right click on a table name and select \"Edit top 200 rows\" menu item. I get this message:

 Exception has been          


        
4条回答
  •  心在旅途
    2021-02-11 13:00

    Are you attempting to edit a SQL 2014 database with the 2012 version (or earlier) of SQL Management Studio?

    You can determine the SQL version of your database by running this query against your master database:

    SELECT @@VERSION
    

    I had the same problem and I was able to direct edit tables ('Edit Top 200') by installing and using SQL Server Management Studio 2014. Even if both your DB and Management Studio are version 2012, it might not hurt to upgrade Management Studio.

提交回复
热议问题