Cannot execute query that works in SSMS - EXECUTE permission denied sp_cursoropen
Posted: Tue 27 Jun 2017 15:45
I have just started using Studio for SQL Server and am connecting to a DB I have been connecting to via SSMS for years using SQL Server Authentication.
I am able to access the Database, but when I try and run a query that works in SSMS - A simple, I get the following error:
Again, the same query works on the same DB in SSMS. What can I do to resolve this?
I am able to access the Database, but when I try and run a query that works in SSMS - A simple
Code: Select all
SELECT * FROM MyTable
Code: Select all
1 Procedure sp_cursoropen. The EXECUTE permission was denied on the object 'sp_cursoropen', database 'mssqlsystemresource', schema 'sys'. SQL.sql 1 1