문제

Is it possible to read/write into a SQL Server 2005 database, from a VB.NET application, using a user who does NOT have a sysadmin server role?

도움이 되었습니까?

해결책

To read from all tables in a database, there is a Database role called db_datareader. To insert/update/delete from all tables in a database, there is a Database role called db_datawriter.

The user will need to be mapped to a login at the Instance level, but no server roles will be required, especially not sysadmin.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top