SQL Server 2008: how do I grant privileges to a username?
If you want to give your user all read permissions, you could use: EXEC sp_addrolemember N’db_datareader’, N’your-user-name’ That adds the default db_datareader role (read permission on all tables) to that user. There’s also a db_datawriter role – which gives your user all WRITE permissions (INSERT, UPDATE, DELETE) on all tables: EXEC sp_addrolemember N’db_datawriter’, N’your-user-name’ If … Read more