1/*You can also create a login using the T-SQL command.*/
2CREATE LOGIN MyLogin WITH PASSWORD = '123';
3
1-- Creates the login AbolrousHazem with password '340$Uuxwp7Mcxo7Khy'.
2CREATE LOGIN username
3 WITH PASSWORD = 'password';
4GO
5
6-- Creates a database user for the login created above.
7CREATE USER AbolrousHazem FOR LOGIN AbolrousHazem;
8GO
9