-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCreation Query.sql
115 lines (80 loc) · 3.31 KB
/
Creation Query.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
USE [master]
GO
/****** Object: Database [DB_Project_Hospital_DataBase1] Script Date: 1/10/2022 5:24:13 AM ******/
CREATE DATABASE [DB_Project_Hospital_DataBase1]
CONTAINMENT = NONE
ON PRIMARY
( NAME = N'DB_Project_Hospital_DataBase1', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\DB_Project_Hospital_DataBase1.mdf' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 65536KB )
LOG ON
( NAME = N'DB_Project_Hospital_DataBase1_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\DB_Project_Hospital_DataBase1_log.ldf' , SIZE = 8192KB , MAXSIZE = 2048GB , FILEGROWTH = 65536KB )
WITH CATALOG_COLLATION = DATABASE_DEFAULT
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [DB_Project_Hospital_DataBase1].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ANSI_NULL_DEFAULT OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ANSI_NULLS OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ANSI_PADDING OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ANSI_WARNINGS OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ARITHABORT OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET AUTO_CLOSE OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET AUTO_SHRINK OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET AUTO_UPDATE_STATISTICS ON
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET CURSOR_CLOSE_ON_COMMIT OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET CURSOR_DEFAULT GLOBAL
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET CONCAT_NULL_YIELDS_NULL OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET NUMERIC_ROUNDABORT OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET QUOTED_IDENTIFIER OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET RECURSIVE_TRIGGERS OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ENABLE_BROKER
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET DATE_CORRELATION_OPTIMIZATION OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET TRUSTWORTHY OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ALLOW_SNAPSHOT_ISOLATION OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET PARAMETERIZATION SIMPLE
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET READ_COMMITTED_SNAPSHOT OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET HONOR_BROKER_PRIORITY OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET RECOVERY FULL
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET MULTI_USER
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET PAGE_VERIFY CHECKSUM
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET DB_CHAINING OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF )
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET TARGET_RECOVERY_TIME = 60 SECONDS
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET DELAYED_DURABILITY = DISABLED
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET ACCELERATED_DATABASE_RECOVERY = OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET QUERY_STORE = OFF
GO
ALTER DATABASE [DB_Project_Hospital_DataBase1] SET READ_WRITE
GO