USE master; CREATE LOGIN [Hiru] WITH PASSWORD = 'pwd'; USE mydb; CREATE USER [Hiru] FOR LOGIN [Hiru];