hello.sql
· 142 B · MySQL
Неформатований
CREATE USER username FROM LOGIN login;
EXEC sp_addrolemember 'db_datareader', 'username';
EXEC sp_addrolemember 'db_datawriter', 'username';
1 | CREATE USER username FROM LOGIN login; |
2 | |
3 | EXEC sp_addrolemember 'db_datareader', 'username'; |
4 | |
5 | EXEC sp_addrolemember 'db_datawriter', 'username'; |