SQL Server 2008: how do I grant privileges to a username?
问题 I need to be able to establish an ODBC connection through SQL Server authentication. In SSMS how do I grant permission for a user to be able to have ALL RIGHTS on a specific database? is there a way to do this graphically with SSMS? 回答1: 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