﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / permissions / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 15:45:26 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>You are probably best creating DB roles and applying the permissions to that role, egUSE DBNamegoCREATE ROLE UPDATE_ROLEgoGRANT EXECUTE ON [dbo].SP TO [UPDATE_ROLE]goGRANT SELECT, DELETE, INSERT, UPDATE ON [dbo].[tblStartup] TO [UPDATE_ROLE]GOMakes sense to do this so you can add users to this role and only need to define the permissions once for the role and then add users to the role.</description><pubDate>Wed, 23 Sep 2009 02:09:59 GMT</pubDate><dc:creator>Imran Ashraf-452633</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>if you are a OKAY in scripting, you may like it.SP_MSFOREACHDBSP_MSFOREACHTABLE</description><pubDate>Tue, 22 Sep 2009 01:17:17 GMT</pubDate><dc:creator>Vishal Singh</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>thanks........i got it........</description><pubDate>Mon, 21 Sep 2009 01:55:51 GMT</pubDate><dc:creator>charipg</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>If you right click on the database select properties, look at permissions. you will see the user that you granted the select permission to.if you click on that user, then click on effective, you will see select there. as well as if yo8u click on explicit, scroll down to select and you will see grant is ticked.</description><pubDate>Mon, 21 Sep 2009 01:04:10 GMT</pubDate><dc:creator>Silverfox</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>yes, i cheked in GUI after excuting that query.</description><pubDate>Mon, 21 Sep 2009 01:03:36 GMT</pubDate><dc:creator>charipg</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>how did you test it, remember that allocating permissions this way, it will not show correctly in the GUI. but the permissions would have been allocated</description><pubDate>Mon, 21 Sep 2009 00:57:13 GMT</pubDate><dc:creator>Silverfox</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>its not working.</description><pubDate>Mon, 21 Sep 2009 00:54:14 GMT</pubDate><dc:creator>charipg</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>There are better ways of doing it butUSE [databasename]GOGRANT SELECT TO [username]try that and let me know if that works for you.</description><pubDate>Mon, 21 Sep 2009 00:47:17 GMT</pubDate><dc:creator>Silverfox</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>i want to give these permissions to all tables.</description><pubDate>Mon, 21 Sep 2009 00:41:20 GMT</pubDate><dc:creator>charipg</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>5oo tables are present in that db.so at a time how to give  the permissions.?</description><pubDate>Mon, 21 Sep 2009 00:40:44 GMT</pubDate><dc:creator>charipg</dc:creator></item><item><title>RE: permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>[quote][b]charipg (9/21/2009)[/b][hr]how to provide the execute permissions to the stored procedures and select, update, delete rights on the tables  to a perticular user?[/quote]As mentioned before in previous posts.GRANT EXECUTE to [loginname]will give execute permissions for procedures for that particular database.as for DML Permissionsit is better to do that at object level so,GRANT SELECT on [tablename] to [username]GRANT DELETE on [tablename] to [username]GRANT INSERT on [tablename] to [username]</description><pubDate>Mon, 21 Sep 2009 00:36:11 GMT</pubDate><dc:creator>Silverfox</dc:creator></item><item><title>permissions</title><link>http://www.sqlservercentral.com/Forums/Topic790952-146-1.aspx</link><description>how to provide the execute permissions to the stored procedures and select, update, delete rights on the tables  to a perticular user?</description><pubDate>Mon, 21 Sep 2009 00:17:05 GMT</pubDate><dc:creator>charipg</dc:creator></item></channel></rss>