Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Stored procedure EXECUTE failure with user role db_datareader

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-08-11 : 16:32:00
Marcus writes "Using: SQL 7.0 on NT 4.0

I am accessing a database with a SQL Server user account which has the "db_datareader" role. If I attempt to execute a stored procedure with that user, it fails because the user does not have EXECUTE rights. However, if I then try to execute the same sp a second time, it works fine. What causes this behaviour? I am assuming it must be something related to the way the sp is cached, but I can't guess any more than that.

Any answer would be useful!
ta."
   

- Advertisement -