-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsql_scrtipt.sql
More file actions
44 lines (43 loc) · 1.83 KB
/
Copy pathsql_scrtipt.sql
File metadata and controls
44 lines (43 loc) · 1.83 KB
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
USE [ProductsList]
GO
/****** Object: Table [dbo].[Orders] Script Date: 8/2/2023 11:44:00 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Orders](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](max) NOT NULL,
[Quantity] [int] NOT NULL,
[Message] [nvarchar](max) NOT NULL,
[City] [nvarchar](max) NOT NULL,
CONSTRAINT [PK_Orders] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
USE [ProductsList]
GO
SET IDENTITY_INSERT [dbo].[Orders] ON
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (1, N'Xbox', 12, N'Microsoft XBox', N'New York')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (2, N'PlayStation', 10, N'Sony Play Station', N'LA')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (3, N'Call of Duty', 5, N'Xbox Game', N'New York')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (4, N'San Andreas', 3, N'Game', N'Washington')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (5, N'Mario Bros', 4, N'Game', N'LA')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (6, N'Camera Sony', 2, N'Sony Company', N'New York')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (8, N'Camera Nikon', 2, N'Black', N'New York')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (9, N'Plasma monitor', 2, N'Black', N'New York')
GO
INSERT [dbo].[Orders] ([Id], [Title], [Quantity], [Message], [City]) VALUES (10, N'Plasma TV', 6, N'Sony Brand', N'New York')
GO
SET IDENTITY_INSERT [dbo].[Orders] OFF
GO