Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

grant database roles to read-only specified schema

 
   Database Help (Home) -> Security RSS
Next:  T-SQL Comparing a String of Items to a Table of I..  
Author Message
sg

External


Since: Jun 25, 2008
Posts: 65



(Msg. 1) Posted: Fri Nov 21, 2008 10:35 am
Post subject: grant database roles to read-only specified schema
Archived from groups: microsoft>public>sqlserver>security (more info?)

Hi,

I'm trying to grant a database roles (contract_role) to have "select" to the
tables within schema1. Is there a way that I can grant select on all of the
tables to contract_role instead of choosing one by one and click?

Thanks
Sarah

 >> Stay informed about: grant database roles to read-only specified schema 
Back to top
Login to vote
Russell Fields

External


Since: Jan 10, 2008
Posts: 608



(Msg. 2) Posted: Fri Nov 21, 2008 1:50 pm
Post subject: Re: grant database roles to read-only specified schema [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sarah,

GRANT SELECT ON SCHEMA :: schema1 TO contract_role

RLF

"sg" wrote in message

> Hi,
>
> I'm trying to grant a database roles (contract_role) to have "select" to
> the
> tables within schema1. Is there a way that I can grant select on all of
> the
> tables to contract_role instead of choosing one by one and click?
>
> Thanks
> Sarah

 >> Stay informed about: grant database roles to read-only specified schema 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
permission issues with database roles - Hello, Does somebody knows or have a complete solution, for resolving the following issues when moving or copying a database to another sql server? - when attaching the moved database, i have orphan users. I can use the sp_help_revlogin to re-create..

sql 2008 and database roles are they ok to use - I read in a document from sql 2005 that database roles were going to be done away with in future reelases of sql but sql 2008 still has database roles. I like the idea of using a database role and assiging usrers to the role for security setup. But...

Grant Privileges - I am trying to give limited privileges to a login account on a table, but it doesn't seem to work. I have a link table in Access 97. Some columns are supposed to be read only and some columns are supposed to be read-only. I use the script below revoke...

Grant v Deny - I just created 3 sensitive data tables within my database. I have a Group that conatins multiple people and only 5 of those can have access to these tables new tables. The rest of the people in the group need Read access to all of the other tables..

SQL Server Login and CRM Roles - I'm trying to link to SQLServer instance that is hosting CRM database. I need a login that allows me to access the 'filtered' CRM views. CRM needs to be able to associate the SQL Login with an Active Directory entry for a CRM user with appropriate..
   Database Help (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]