I am trying to add a SQL login to a DB role using sp_addrolemember. This is the statement I am running :
execute sp_addrolemember 'db_owner','tsrweb'
I am getting this error:
Server: Msg 15410, Level 11, State 1, Procedure sp_addrolemember, Line 66
User or role 'tsrweb' does not exist in this database.
When a use a windows account works fine.
Any ideas?
Carlos