Solved

Permissions question - ALTER SCHEMA

Posted on 2013-11-27
2
320 Views
Last Modified: 2013-11-29
What type of permissions does the user need to be able to create a function or stored procedure within dbo schema (user default schema)? Would ALTER SHCEMA do the job?
0
Comment
Question by:YZlat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 250 total points
ID: 39681463
Alter permissions for the dbo schema and create procedure permissions for stored procs.  Functions also require alter permissions on the dbo schema and create function permissions.  If the function specifies a user-defined type, requires EXECUTE permission on the type.

Function: http://msdn.microsoft.com/en-us/library/ms186755(v=sql.105).aspx

SP: http://technet.microsoft.com/en-us/library/ms187926(v=sql.105).aspx
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 39685394
Thanks!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Show RTF format in an SSRS report 3 40
Need sql in string 2 29
SQL Server Sum Over Multiple Tables 20 33
UPDATE JOIN multiple tables 5 20
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question