-
Notifications
You must be signed in to change notification settings - Fork 2
/
ServingHand.sql
99 lines (97 loc) · 6.22 KB
/
ServingHand.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
USE [master]
GO
/****** Object: Database [Comment] Script Date: 1/15/2020 10:48:44 PM ******/
CREATE DATABASE [Comment] ON PRIMARY
( NAME = N'Comment', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\Comment.mdf' , SIZE = 2304KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'Comment_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\Comment_log.LDF' , SIZE = 504KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
ALTER DATABASE [Comment] SET COMPATIBILITY_LEVEL = 100
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [Comment].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [Comment] SET ANSI_NULL_DEFAULT OFF
GO
ALTER DATABASE [Comment] SET ANSI_NULLS OFF
GO
ALTER DATABASE [Comment] SET ANSI_PADDING OFF
GO
ALTER DATABASE [Comment] SET ANSI_WARNINGS OFF
GO
ALTER DATABASE [Comment] SET ARITHABORT OFF
GO
ALTER DATABASE [Comment] SET AUTO_CLOSE OFF
GO
ALTER DATABASE [Comment] SET AUTO_CREATE_STATISTICS ON
GO
ALTER DATABASE [Comment] SET AUTO_SHRINK OFF
GO
ALTER DATABASE [Comment] SET AUTO_UPDATE_STATISTICS ON
GO
ALTER DATABASE [Comment] SET CURSOR_CLOSE_ON_COMMIT OFF
GO
ALTER DATABASE [Comment] SET CURSOR_DEFAULT GLOBAL
GO
ALTER DATABASE [Comment] SET CONCAT_NULL_YIELDS_NULL OFF
GO
ALTER DATABASE [Comment] SET NUMERIC_ROUNDABORT OFF
GO
ALTER DATABASE [Comment] SET QUOTED_IDENTIFIER OFF
GO
ALTER DATABASE [Comment] SET RECURSIVE_TRIGGERS OFF
GO
ALTER DATABASE [Comment] SET ENABLE_BROKER
GO
ALTER DATABASE [Comment] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
GO
ALTER DATABASE [Comment] SET DATE_CORRELATION_OPTIMIZATION OFF
GO
ALTER DATABASE [Comment] SET TRUSTWORTHY OFF
GO
ALTER DATABASE [Comment] SET ALLOW_SNAPSHOT_ISOLATION OFF
GO
ALTER DATABASE [Comment] SET PARAMETERIZATION SIMPLE
GO
ALTER DATABASE [Comment] SET READ_COMMITTED_SNAPSHOT OFF
GO
ALTER DATABASE [Comment] SET HONOR_BROKER_PRIORITY OFF
GO
ALTER DATABASE [Comment] SET RECOVERY FULL
GO
ALTER DATABASE [Comment] SET MULTI_USER
GO
ALTER DATABASE [Comment] SET PAGE_VERIFY CHECKSUM
GO
ALTER DATABASE [Comment] SET DB_CHAINING OFF
GO
EXEC sys.sp_db_vardecimal_storage_format N'Comment', N'ON'
GO
USE [Comment]
GO
/****** Object: Table [dbo].[Com] Script Date: 1/15/2020 10:48:44 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Com](
[id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NULL,
[comt] [nvarchar](50) NULL,
[date] [nvarchar](50) NULL,
PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [dbo].[Com] ON
INSERT [dbo].[Com] ([id], [Name], [comt], [date]) VALUES (1, N'Ali', N'My name is Ali', N'1/15/2020 7:17:53 PM')
INSERT [dbo].[Com] ([id], [Name], [comt], [date]) VALUES (2, N'Maaz ', N'My name is Maaz', N'1/15/2020 7:18:19 PM')
SET IDENTITY_INSERT [dbo].[Com] OFF
USE [master]
GO
ALTER DATABASE [Comment] SET READ_WRITE
GO