Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

My blog on SQL Server, TSQL, MSBI and other areas of SQL Server.
Browse by Tags · View All
Cube in Sql Server.. 2
RollUp 2
Groupby 2
Use of NULLIF 2
Procedures 2
Search Objects (Table Name 2
Happy diwali 1
SP_Rename 1
Bulk Insert 1
Completed 4 Years in IT Profession......................................... 1

Archive · View All
May 2012 10
June 2012 7
October 2012 3
July 2012 2
November 2012 1
September 2012 1

Create User Define Role and Give Access

Jun 8 2012 12:00AM by Nirav Gandhi   

1) Create Read_Only Role And Give the Access of Viewing any Definition.

    USE master
    GO
    Create role Read_Only
    GRANT VIEW ANY DEFINITION TO Read_Only
    USE master
    GO
    Revoke VIEW ANY DEFINITION TO Read_Only

2) Create Role and Give Execute Role

    Create role DB_Execute
    Grant Execute     to DB_Execute
    Revoke Execute  to DB_Execute

3) Create Role And Give Alter Role

    Create role DB_Alter
    Grant Alter     to DB_Alter
    Revoke Execute  to DB_Alter

4) Create Role And Give Insert,Update,Delete Role

    Create Role DB_Write_Database
    Grant Insert,Update,Delete to DB_Write_Database
    Revoke Insert,Update,Delete to DB_Write_Database

5)If you want to Create Read-Only Definition to All DB_User expect Admin Role.

    USE master
    GO
    GRANT VIEW ANY DEFINITION TO PUBLIC
    USE master
    GO
    Revoke View Any Definition to Public


Tags: Create User Define Role and Give Access


Nirav Gandhi
38 · 5% · 1503
1 Readers said this post helped them to refresh memory
venushakamuri said this post helped them to refresh memory on 6/8/2012 3:33:00 AM
Profile
2
 
0
Lifesaver
 
1
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"Create User Define Role and Give Access" rated 5 out of 5 by 2 readers
Create User Define Role and Give Access , 5.0 out of 5 based on 2 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]