
USE MASTER
CREATE DATABASE {Database}
GO

CREATE LOGIN {User}
  WITH PASSWORD = '{Password}',
    DEFAULT_DATABASE = {Database},   
    CHECK_POLICY = OFF,
    CHECK_EXPIRATION = OFF
GO

USE {Database}
CREATE USER {User} FOR LOGIN {User}
GO

USE {Database}
ALTER ROLE [db_datareader] ADD MEMBER [{User}]
ALTER ROLE [db_datawriter] ADD MEMBER [{User}]
GO