Re: Execute stored procedure only
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Tue, 11 Sep 2007 21:56:23 +0000 (UTC)
"Andy" <Andy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A5FCB514-16C0-4A4C-B9ED-ED86E1EC99A5@xxxxxxxxxxxxxxxx
Erland,
You are right, I did try to connect through Query Analyzer granting
connect right, jsust to test. Should I not be able to just execute SP
through QA?
What I meant is that since you denied every database permission you saw, you
also denied the user CONNECT permission on the database. And denying a
user CONNECT permission to a datbase, means that that user cannot
access that database at all.
Ergo, you need to revoke the denial, but grant the user CONNECT on
the database alongside EXECUTE.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- Re: Execute stored procedure only
- From: Erland Sommarskog
- Re: Execute stored procedure only
- From: Russell Fields
- Re: Execute stored procedure only
- Prev by Date: Re: auditing users
- Next by Date: can't open database on remote sql server 2000 by sa
- Previous by thread: Re: Execute stored procedure only
- Next by thread: Re: Execute stored procedure only
- Index(es):
Relevant Pages
|