USE [master]
GO

/****** Object:  Database [IDB]    Script Date: 10.01.2020 12:55:47 ******/
CREATE DATABASE [IDB]
 CONTAINMENT = NONE
 ON  PRIMARY 
( NAME = N'IDB', FILENAME = N'E:\DataFiles\Microsoft SQL Server 2017\MSSQL14.DD_DEVELOP01\MSSQL\DATA\IDB.mdf' , SIZE = 5120KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'IDB_log', FILENAME = N'E:\DataFiles\Microsoft SQL Server 2017\MSSQL14.DD_DEVELOP01\MSSQL\DATA\IDB_log.ldf' , SIZE = 5184KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO

IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [IDB].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO

ALTER DATABASE [IDB] SET ANSI_NULL_DEFAULT OFF 
GO

ALTER DATABASE [IDB] SET ANSI_NULLS OFF 
GO

ALTER DATABASE [IDB] SET ANSI_PADDING OFF 
GO

ALTER DATABASE [IDB] SET ANSI_WARNINGS OFF 
GO

ALTER DATABASE [IDB] SET ARITHABORT OFF 
GO

ALTER DATABASE [IDB] SET AUTO_CLOSE OFF 
GO

ALTER DATABASE [IDB] SET AUTO_SHRINK OFF 
GO

ALTER DATABASE [IDB] SET AUTO_UPDATE_STATISTICS ON 
GO

ALTER DATABASE [IDB] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO

ALTER DATABASE [IDB] SET CURSOR_DEFAULT  GLOBAL 
GO

ALTER DATABASE [IDB] SET CONCAT_NULL_YIELDS_NULL OFF 
GO

ALTER DATABASE [IDB] SET NUMERIC_ROUNDABORT OFF 
GO

ALTER DATABASE [IDB] SET QUOTED_IDENTIFIER OFF 
GO

ALTER DATABASE [IDB] SET RECURSIVE_TRIGGERS OFF 
GO

ALTER DATABASE [IDB] SET  DISABLE_BROKER 
GO

ALTER DATABASE [IDB] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO

ALTER DATABASE [IDB] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO

ALTER DATABASE [IDB] SET TRUSTWORTHY OFF 
GO

ALTER DATABASE [IDB] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO

ALTER DATABASE [IDB] SET PARAMETERIZATION SIMPLE 
GO

ALTER DATABASE [IDB] SET READ_COMMITTED_SNAPSHOT OFF 
GO

ALTER DATABASE [IDB] SET HONOR_BROKER_PRIORITY OFF 
GO

ALTER DATABASE [IDB] SET RECOVERY FULL 
GO

ALTER DATABASE [IDB] SET  MULTI_USER 
GO

ALTER DATABASE [IDB] SET PAGE_VERIFY CHECKSUM  
GO

ALTER DATABASE [IDB] SET DB_CHAINING OFF 
GO

ALTER DATABASE [IDB] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF ) 
GO

ALTER DATABASE [IDB] SET TARGET_RECOVERY_TIME = 0 SECONDS 
GO

ALTER DATABASE [IDB] SET DELAYED_DURABILITY = DISABLED 
GO

ALTER DATABASE [IDB] SET QUERY_STORE = OFF
GO

ALTER DATABASE [IDB] SET  READ_WRITE 
GO

