Home Forums SQL Server 7,2000 Replication Want to give rights to user wo can configure replication but can not update database RE: Want to give rights to user wo can configure replication but can not update database

  • sonimitu (8/16/2016)


    Hi!

    I am using SQL 2005 Enterprise Edition, I want to create a user who do not have update rights on the database (allowing read and write), but he can create replication for the same database.

    As I have seen in some microsoft links - user should have sysadmin rights to configure distribution, publisher etc.

    Is it possible that I can deny update rights for user who have sysadmin role?

    Thanks..

    No... you cannot deny any priv to someone who's a member of the sysadmin role. I also wouldn't let a "user" do anything as serious as replication unless they could, indeed, be trusted with both the role and the task at hand. Even then, it's not likely I'd ever allow a "user" to setup replication on servers that I'm charged with.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)