USE [master] GO CREATE DATABASE [vCloud51] ON PRIMARY (NAME = N'vCloud51', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\vCloud51.mdf', SIZE = 100MB, FILEGROWTH = 10% ) LOG ON (NAME = N'vcdb_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\vCloud51.ldf', SIZE = 1MB, FILEGROWTH = 10%) COLLATE Latin1_General_CS_AS GO USE [vCloud51] GO ALTER DATABASE [vCloud51] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; ALTER DATABASE [vCloud51] SET ALLOW_SNAPSHOT_ISOLATION ON; ALTER DATABASE [vCloud51] SET READ_COMMITTED_SNAPSHOT ON WITH NO_WAIT; ALTER DATABASE [vCloud51] SET MULTI_USER; GO USE [vCloud51] GO CREATE LOGIN [vcloud51] WITH PASSWORD = 'VMware1!', DEFAULT_DATABASE =[vCloud51], DEFAULT_LANGUAGE =[us_english], CHECK_POLICY=OFF GO CREATE USER [vcloud51] for LOGIN [vcloud51] GO USE [vCloud51] GO sp_addrolemember [db_owner], [vcloud51] GO