Beruflich Dokumente
Kultur Dokumente
Column Name
Userid
username
password
emailid
mobile_number
address_communication
gender
age
date_birth
ipaddress
Datatype
numeric(18, 0)
varchar(50)
varchar(50)
varchar(50)
numeric(18, 0)
varchar(50)
varchar(50)
numeric(18, 0)
datetime
varchar(50)
Constraints
Primary Key
Column Name
Product_code
Product_name
Product_description
Product_rate
Product_filename
Product_file
Product_filetype
Datatype
numeric(18, 0)
varchar(50)
varchar(50)
money
varchar(50)
varbinary(MAX)
varchar(50)
Constraints
Primary Key
Column Name
Review_id
Review_date
Review_time
User_id
Product_code
Review_Rating_5
Fake_flag
ip_address
Datatype
numeric(18, 0)
datetime
datetime
numeric(18, 0)
numeric(18, 0)
numeric(18, 0)
varchar(50)
varchar(50)
Constraints
Primary Key
Foreign Key
Datatype
numeric(18, 0)
numeric(18, 0)
numeric(18, 0)
numeric(18, 0)
Constraints
Primary Key
Foreign Key
Foreign Key
Foreign Key
Column Name
RankOrder
Product_id
ReviewCount
Review_Percentage
Datatype
numeric(18, 0)
numeric(18, 0)
numeric(18, 0)
numeric(18, 2)
Constraints
Primary Key
Foreign Key
USE [Fake_product]
GO
/****** Object: Table [dbo].[Userregistration]
******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Userregistration](
[Userid] [numeric](18, 0) NOT NULL,
[username] [varchar](50) NULL,
[password] [varchar](50) NULL,
[emailid] [varchar](50) NULL,
[mobile_number] [numeric](18, 0) NULL,
[address_communication] [varchar](50) NULL,
[gender] [varchar](50) NULL,
[age] [numeric](18, 0) NULL,
[date_birth] [datetime] NULL,
[ipaddress] [varchar](50) NULL,
CONSTRAINT [PK_Userregistration] PRIMARY KEY CLUSTERED
(
[Userid] 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 ANSI_PADDING OFF
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[ReviewTable](
[Review_id] [numeric](18, 0) NOT NULL,
[Review_date] [datetime] NULL,
[Review_time] [datetime] NULL,
[User_id] [numeric](18, 0) NULL,
[Product_code] [numeric](18, 0) NULL,
[Review_Rating_5] [numeric](18, 0) NULL,
[Fake_flag] [varchar](50) NULL,
[ip_address] [varchar](50) NULL,
CONSTRAINT [PK_ReviewTable] PRIMARY KEY CLUSTERED
(
[Review_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 ANSI_PADDING OFF
GO
/****** Object: Table [dbo].[RankingTable]
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Product_Table](
[Product_code] [numeric](18, 0) NOT NULL,
[Product_name] [varchar](50) NULL,
[Product_description] [varchar](50) NULL,
[Product_rate] [money] NULL,
[Product_filename] [varchar](50) NULL,
[Product_file] [varbinary](max) NULL,
[Product_filetype] [varchar](50) NULL,
CONSTRAINT [PK_Product_Table] PRIMARY KEY CLUSTERED
(
[Product_code] ASC
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BlockedTable](
[Blocked_id] [numeric](18, 0) NOT NULL,
[Review_id] [numeric](18, 0) NULL,
[User_id] [numeric](18, 0) NULL,
[Product_id] [numeric](18, 0) NULL,
CONSTRAINT [PK_BlockedTable] PRIMARY KEY CLUSTERED
(
[Blocked_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