I\'m trying to add mydomain\\myuser to the db_denydatawriter role but i can find a simple example of the query does anybody have a quick example?
EXEC sp_addrolemember N'db_denydatawriter', N'Foo'
Reference here.