Ajouter utilisateurs orphelins/correct.sql
This commit is contained in:
10
utilisateurs orphelins/correct.sql
Normal file
10
utilisateurs orphelins/correct.sql
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--
|
||||||
|
CREATE LOGIN <login_name>
|
||||||
|
WITH PASSWORD = '<use_a_strong_password_here>',
|
||||||
|
SID = <SID>;
|
||||||
|
|
||||||
|
--
|
||||||
|
ALTER USER <user_name> WITH Login = <login_name>;
|
||||||
|
|
||||||
|
--
|
||||||
|
ALTER LOGIN <login_name> WITH PASSWORD = '<enterStrongPasswordHere>';
|
Reference in New Issue
Block a user