Solved

Permissions question - ALTER SCHEMA

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Percentage Formula 7 33
When are cursors useful? 8 62
Do not display comma when no last name 8 48
SQL query 45 41
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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…
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.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

751 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