USE [LibraryDatabase]
GO
/****** Object: Table [dbo].[BookingInfo] Script Date: 2022/2/3 10:39:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BookingInfo](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ReaderID] [nvarchar](50) NOT NULL,
[Title] [nvarchar](50) NOT NULL,
[BookCode] [nvarchar](50) NOT NULL,
[BookingDate] [nvarchar](100) NOT NULL,
[BookingPeople] [nvarchar](50) NOT NULL,
[BookingEndDate] [nvarchar](100) NOT NULL,
CONSTRAINT [PK_BookingInfo] 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]
GO
/****** Object: Table [dbo].[Books] Script Date: 2022/2/3 10:39:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Books](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](200) NOT NULL,
[Author] [nvarchar](200) NOT NULL,
[ISBN] [nvarchar](50) NOT NULL,
[PublishingHouse] [nvarchar](200) NOT NULL,
[PublicationDate] [nvarchar](100) NOT NULL,
[BookType] [int] NOT NULL,
[BookCode] [nvarchar](50) NOT NULL,
[NumBorrowed] [int] NOT NULL,
[Picture] [nvarchar](50) NULL,
[IsBorrow] [int] NOT NULL,
[IsBooking] [int] NOT NULL,
CONSTRAINT [PK_Books_1] 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]
GO
/****** Object: Table [dbo].[BookType] Script Date: 2022/2/3 10:39:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BookType](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Code] [nvarchar](50) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_BookType] 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]
GO
/****** Object: Table [dbo].[HistoryBookingInfo] Script Date: 2022/2/3 10:39:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[HistoryBookingInfo](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ReaderID] [nvarchar](50) NOT NULL,
[BookingPeople] [nvarchar](50) NOT NULL,
[Title] [nvarchar](50) NOT NULL,
[BookCode] [nvarchar](50) NOT NULL,
[BookingDate] [nvarchar](100) NOT NULL,
[BorrowingBookDate] [nvarchar](100) NOT NULL,
[State] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_HistoryBookingInfo] 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]
GO
/****** Object: Table [dbo].[HistoryLendInfo] Script Date: 2022/2/3 10:39:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[HistoryLendInfo](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ReaderID] [nvarchar](50) NOT NULL,
[ReaderName] [nvarchar](50) NOT NULL,
[Title] [nvarchar](50) NOT NULL,
[BookCode] [nvarchar](50) NOT NULL,
[ISBN] [nvarchar](50) NOT NULL,
[BegintTime] [nvarchar](100) NOT NULL,
[EndTime] [nvarchar](100) NOT NULL,
[ActualTime] [nvarchar](100) NOT NULL,
[IsOverdue] [int] NOT NULL,
[Remark] [nvarchar](200) NULL,
CONSTRAINT [PK_HistoryLendInfo] 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]
GO
/****** Object: Table [dbo].[LendInfo] Script Date: 2022/2/3 10:39:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LendInfo](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ReaderID] [nvarchar](50) NOT NULL,
[ReaderName] [nvarchar](50) NOT NU�
充电君
- 粉丝: 2767
- 资源: 17
最新资源
- audittest-javaEE框架项目资源
- kde-l10n-Dutch-4.10.5-2.el7.x64-86.rpm.tar.gz
- kde-l10n-Estonian-4.10.5-2.el7.x64-86.rpm.tar.gz
- 基于多目标黏菌优化算法MOSMA的支持向量机SVM参数优化用于多维数据预测回归与负载核预测,利用多目标黏菌优化算法MOSMA优化支持向量机SVM的参数c和g,实现回归预测,可以实现负载核预测,风电等等
- CC智慧物业小程序-活动资源
- kde-l10n-Farsi-4.10.5-2.el7.x64-86.rpm.tar.gz
- KeyMouseHook-活动资源
- KeyMouseHook-活动资源
- 基于PLC和变频器的水蓄冷中央空调控制系统中组态王设计与实现:梯形图程序、接线图与画面展示,组态王设计基于PLC和变频器的水蓄冷中央空调控制系统 带解释的梯形图程序,接线图原理图图纸,io分配,组态画
- Java毕设项目:基于spring+mybatis+maven+mysql实现的演唱会购票管理系统【含源码+数据库+毕业论文】
- kde-l10n-Finnish-4.10.5-2.el7.x64-86.rpm.tar.gz
- MLcore-Engine-机器学习开发资源
- LabVIEW网口TCP通讯实现欧姆龙OMRON PLC全功能解析:源码开放,多类型数据批量读写,无插件胜OPC,原创视频分享,LabVIEW网口TCP通讯欧姆龙OMRON PLC,FINSTCP N
- 基于S7-200PLC的中央空调变频节能控制详解:梯形图程序、接线图与组态画面全解析,S7-200 MCGS 基于S7-200PLC的小区居民楼,宾馆等中央空调变频节能控制 带解释的梯形图程序,接线图
- 每周精选合集-活动资源
- PlaneWars-cocos资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈