RE: Create Table security
From: Bill Hollinshead [MS] (billhol@online.microsoft.com)
Date: 11/11/02
- Next message: david-hg: "expire sql server 2000 passwords"
- Previous message: ilaxdal: "Copying passwords from SQL 6.5 to SQL 2000"
- In reply to: Toby: "Create Table security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: billhol@online.microsoft.com ("Bill Hollinshead [MS]") Date: Mon, 11 Nov 2002 19:38:06 GMT
Hi Toby,
While you can grant execute permissions of a stored procedure to users,
there are (in my experience) usually two additional things to consider:
1. Chain of ownership - see
http://msdn.microsoft.com/library/en-us/adminsql/ad_security_4iyb.asp
2. Execution context of dynamic SQL - see the Permissions section of
http://msdn.microsoft.com/library/en-us/tsqlref/ts_ea-ez_05ro.asp
It may be that this stored procedure is creating a table via dynamic SQL,
i.e., EXEC(@dynamicSQLstring)
If the above hasn't helped, please post a script to create the stored
procedure and please post the verbatim error message.
Thanks,
Bill Hollinshead
Microsoft, SQL Server
This posting is provided "AS IS" with no warranties, and confers no
rights. Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.
- Next message: david-hg: "expire sql server 2000 passwords"
- Previous message: ilaxdal: "Copying passwords from SQL 6.5 to SQL 2000"
- In reply to: Toby: "Create Table security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|