use master create login code example Example: create login sql server CREATE LOGIN <login_name> WITH PASSWORD = '<enterStrongPasswordHere>'; GO