Home Forums SQL Server 2005 Administering What roles do I add to a new custom role, which will allow CRUD and execute on SP? RE: What roles do I add to a new custom role, which will allow CRUD and execute on SP?

  • GRANT is for granting permissions to a role, user or login, not for adding a role, user or login as a member of a role.

    From BoL

    sp_addrolemember (Transact-SQL)

    Adds a database user, database role, Windows login, or Windows group to a database role in the current database.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass