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 2005 Forums
 Express Edition and Compact Edition (2005)
 Permissions on Stored Procedures?

Author  Topic 

HardCode
Starting Member

8 Posts

Posted - 2006-10-30 : 16:54:56
I can't seem to grasp the change from MSDE/SQL Server 2000 permissions to SQL Server Express. I can't find a way to assign a Stored Procedure permissions.

I imported an MSDE database into SQL2005E. All of the SPs are owned by dbo. Now, I don't think that I should assign SQL Server accounts to the dbo schema, correct? Wouldn't that give those accounts full server access?

So, I created a test SP into a test schema (MySchema). I created MySchema.<sp name>. This produced the SP in the schema, as seen in the Management Studio left-hand list box. No problem there. Now, how do I get a user (MyUser) to be able to run that SP? Do I just add that user to MySchema with Execute permissions?

Some web articles say to right-click the SP and select "Properties." Well, when I right-click tables and views, the right-click menu has "Properties," but not for SPs!?!?

Do I have to change the ownership of all of my SPs from the MSDE imported database from dbo to MySchema? How would I do that?

Can anyone clear this up for me? Thanks in advance.
   

- Advertisement -