all groups > sql server msde > may 2005 >
You're in the

sql server msde

group:

Table permissions


Table permissions Xavier Boneu
5/5/2005 9:51:05 AM
sql server msde:
Hi all!

I have a problem with a database with more than 100 tables. I have theese
tables in MSDE and linked to an Access database. If I open this database, it
tells me that I have no SELECT permission for every table, so I would like to
have a way to grant all permissions (SELECT, DELETE, INSERT, CRETATE TABLE ,
and so on) to every table in my database in a single sentence.

I have been doing it table by table, but I am sure there must be a way to
grant ALL theese permissions to ALL the tables in a database at a time.

Any help will be very appreciated!

Thank you,

--
Re: Table permissions Xavier Boneu
5/5/2005 10:20:08 AM
Thanks. I'll do it now.
--
Xavier Boneu


[quoted text, click to view]
Re: Table permissions Xavier Boneu
5/5/2005 10:28:03 AM
Jens,

I am looking for DB_roles in T-SQL but can't find it. Do you know where
should I find it?

Thanks for your help.

Xavier Boneu


[quoted text, click to view]
Re: Table permissions Xavier Boneu
5/5/2005 10:55:29 AM
Great! It works!

I'll grant db_datawritter and db_datareader to all the users. I'll have to
type the sentences for every user, but at least, I don't have to type it for
every one of the 101 tables!

Thanks!!

--
Xavier Boneu


[quoted text, click to view]
Re: Table permissions Jens Süßmeyer
5/5/2005 6:57:45 PM
Did you already had a look on BOL for the predefined DB_roles like
db_datareader, db_datawriter and db_ddladmin. I think that´ll help you
further.

HTH, Jens Suessmeyer.

---
http://www.sqlserver2005.de
---


"Xavier Boneu" <XavierBoneu@discussions.microsoft.com> schrieb im
Newsbeitrag news:E93CF993-D796-4FE3-850B-FEC4EAE63DE4@microsoft.com...
[quoted text, click to view]

Re: Table permissions Jens Süßmeyer
5/5/2005 7:37:05 PM
Just look for a word like "db_datawriter". Or just take a look here:

http://www.siebelonmicrosoft.com/mssiebel/Downloads/Application_Replatforming/SiebelDBMig/SQLServer2000SecurityWhitepaper.doc



HTH, Jens Suessmeyer.

---
http://www.sqlserver2005.de
---
"Xavier Boneu" <XavierBoneu@discussions.microsoft.com> schrieb im
Newsbeitrag news:E046767F-FECD-44B4-A632-B39E09A499AA@microsoft.com...
[quoted text, click to view]

Re: Table permissions Jens Süßmeyer
5/5/2005 8:02:07 PM
You should consider to group the users in roles, so next time you apply some
security features to them (denying something or granting executing to some
stored procedure) you are able to only grant these right to the new group
and voilá, should´nt go through all the users to do this.

HTH, Jens Suessmeyer.

---
http://www.sqlserver2005.de
---

"Xavier Boneu" <XavierBoneu@discussions.microsoft.com> schrieb im
Newsbeitrag news:EFADA686-0AB7-4D84-AD22-AEE9F890551C@microsoft.com...
[quoted text, click to view]

AddThis Social Bookmark Button