?
Solved

Insert Permissions For One Table

Posted on 2013-11-11
3
Medium Priority
?
215 Views
Last Modified: 2013-11-12
I have just one table which I will need to give Insert permissions to for all Logins on my SQL Server Instance. Is there a way to do this globally or do I need to give explicit permissions to each Login by mapping them as a user and then giving them  insert rights on that table.

Thanks In Advance
0
Comment
Question by:VitaminD
2 Comments
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 1000 total points
ID: 39639287
You could grant it to the public role.

grant insert on <table> to public;
go

Open in new window

0
 
LVL 27

Assisted Solution

by:Zberteoc
Zberteoc earned 1000 total points
ID: 39639805
And make sure those logins are mapped to the database where your table is, otherwise you will not be able to access it regardless of the GRANT statement above.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

588 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