Solved

Permissions question - ALTER SCHEMA

Posted on 2013-11-27
2
314 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
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now