CREATE DATABASE jiradb COLLATE SQL_Latin1_General_CP437_CI_AI
CREATE LOGIN jiradbuser WITH PASSWORD = 'xxxx', DEFAULT_DATABASE='jiradb'
USE jiradb
GO
CREATE schema jiraschema
USE jiradb
GO
CREATE USER jiradbuser for LOGIN jiradbuser
USE jiradb
GO
EXEC sp_addrolemember 'db_owner','jiradbuser'
USE jiradb
GO
CREATE TABLE jiraschema.test(
ID int)
drop table jiraschema.test
ALTER DATABASE jiradb SET READ_COMMITTED_SNAPSHOT ON