Select Permission Denied On Object
- From: "CSAWannabe" <wisertime2006@xxxxxxxxx>
- Date: 11 Oct 2006 15:13:20 -0700
Guys,
I have a stored procedure in one database, that is doing a select
statement on a table in a different database on the same server.
I gave execute permission on the stored procedure to a particular
user. When that user executes the stored procedure they get the
following error:
'Select Permisssion Denied On Object: TableName' The TableName
is a table in the different database. If I grant 'select' permission
on the table in the different database to the user, then everything
works.. But I would rather not grant any permissions to the user on the
table, and limit the permissions to simply execute on a stored
procedure.
What is the right way to set up permissions so that a user can
execute a stored procedure in one database that does a select on a
table in another database?
I'm running MS SQL Server 2000 on Windows 2000.
.
- Follow-Ups:
- Re: Select Permission Denied On Object
- From: Dan Guzman
- Re: Select Permission Denied On Object
- Prev by Date: Re: SQL 2000 view current job status best practice
- Next by Date: Re: SQL Profiler question
- Previous by thread: Re: SQL 2000 view current job status best practice
- Next by thread: Re: Select Permission Denied On Object
- Index(es):
Relevant Pages
|