Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


how to give create or drop permission through ssms


how to give create or drop permission through ssms

Author
Message
sej2008
sej2008
SSC Veteran
SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)SSC Veteran (213 reputation)

Group: General Forum Members
Points: 213 Visits: 394
in sql 2008 it is possible to assign permission to an object such as table or view
insert or select permission by going through securables window but how to give drop or create object permission in ssms?
Welsh Corgi
Welsh Corgi
SSCertifiable
SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)

Group: General Forum Members
Points: 6248 Visits: 4885
Yes you can accomplish it through SSMS. I prefer to do this in T-SQL.

To do this in SSMS.

Create a User and add them to the public role. (for minimum permissions)

If you want them to create objects you can add them to the ddl_admin role but they will be able to ALTER and Drop Objects as well.

If you want to prevent them from dropping objects you will need to do this in T-SQL.

Then right click on the table and select properties.

Click on permissions.

On the top pane click on the search button to add the User.

On the bottom pane, for SELECT Permissions check the Select box.

For INSERT PERMISSIONS check the Insert box

Check any other permissionsthat you want to grant or deny.

To do it in T-SQL:

Google for each permission that you need if you do not know the syntax.

Then create T-SQL Scripts to grant the permissions that you need.

Save your scripts for future reference.

Alter your saved scripts and save them as needed to assign permissions to other Users.

You will learn from creating scripts to grant permissions.

HTH. :-)

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
kevaburg
kevaburg
Right there with Babe
Right there with Babe (784 reputation)Right there with Babe (784 reputation)Right there with Babe (784 reputation)Right there with Babe (784 reputation)Right there with Babe (784 reputation)Right there with Babe (784 reputation)Right there with Babe (784 reputation)Right there with Babe (784 reputation)

Group: General Forum Members
Points: 784 Visits: 944
Please please please read the documentation, take a course or at least sit down and read a book! Security is the single most important aspect of data management and if you are unaware of how to assign rights, permissions and roles through the Management Studio then you have the most enormous gap in your knowledge and whats more, I would suspect a dangerous lack of ability to secure your database!

Don't take that the wrong way but it takes very little to get security wrong......
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search