Solved

Granting users in active domain permissions to execute a stored procedure from an excel workbook

Posted on 2015-01-21
6
58 Views
Last Modified: 2015-02-18
I have created a workbook on a public drive accessible to about 5 users.  Within the workbook is a macro that runs a SQL 2008 R2 stored procedure to update a table within the workbook.  It works perfectly for my user access.  Currently these 5 users have read privileges to access views and tables within the SQL Server from Excel.

What are the procedures to set these users up to be able to execute the stored procedure?  I have seen a lot of different styles and advice on this matter.

Do I need to "alter" the SP grant them permissions?  Or do I need to get the DBA involved?

Let me know.

thanks

Glen
0
Comment
Question by:GPSPOW
6 Comments
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 40563650
i suggest that you involve your dba in the solution,,,

basically to let him know that you are intending this extensions of access to the data,,, so that he can

properly assess the impact from a security and performance viewpoint that fits in with your companies security and audit policies.
0
 
LVL 46

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40563949
You need to grant permissions for execute the SP:
GRANT EXECUTE ON SPName TO UserName
0
 

Author Comment

by:GPSPOW
ID: 40564321
I will try this and notify the user to test the report



Thanks

Glen
0
 

Author Comment

by:GPSPOW
ID: 40609295
No objections

Please close
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40616156
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tags from access to excel 3 24
Time Duration able to handle overflow of 24+ hours 5 39
TSQL - IF ELSE? 3 25
T-SQL: Nested CASE Statements 4 21
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

943 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

6 Experts available now in Live!

Get 1:1 Help Now