Fix TSQLlint warnings in MSSQL test script

This commit is contained in:
Badlop 2023-02-14 20:01:45 +01:00
parent 66d58504d0
commit c9143dd3d8
1 changed files with 10 additions and 2 deletions

View File

@ -1,8 +1,16 @@
USE [master]
SET ANSI_NULLS ON;
SET NOCOUNT ON;
SET QUOTED_IDENTIFIER ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
USE [master];
GO
-- prevent creation when already exists
IF DB_ID('ejabberd_test') IS NOT NULL
set noexec on -- prevent creation when already exists
BEGIN
SET NOEXEC ON;
END
CREATE DATABASE ejabberd_test;
GO