Grant db_datareader database role to a user for a readonly database

  • Sorry, password comes before SID and no single quotes around the SID value.

    Create Login [Test]

    With Password = 'Passw0rd',

    SID = 0xE1EDB47AD4DEB243A4AA578ACBE92700


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

  • Now the user Test is able to access the Standby mode database on secondary instance. Thank you..

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply