Last active 1681553077

Very good script

hello.sql Raw
1CREATE USER username FROM LOGIN login;
2
3EXEC sp_addrolemember 'db_datareader', 'username';
4
5EXEC sp_addrolemember 'db_datawriter', 'username';
6
7EXEC sp_addrolemember 'db_ddladmin', 'username';