use master
go
if exists (select * from dbo.sysdatabases where name = 'Ticket')
drop database Ticket
GO
create database Ticket
go
use Ticket
go
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[airlineInfo]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[airlineInfo]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[customerInfo]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[customerInfo]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[customerType]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[customerType]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[planeInfo]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[planeInfo]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[serviceInfo]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[serviceInfo]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ticketInfo]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[ticketInfo]
GO
CREATE TABLE [dbo].[airlineInfo] (
[airlineNO] [char] (14) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[departCity] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[arrivalCity] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[departDate] [char] (10) COLLATE Chinese_PRC_CI_AS NULL ,
[departTime] [char] (10) COLLATE Chinese_PRC_CI_AS NULL ,
[arrivalTime] [char] (10) COLLATE Chinese_PRC_CI_AS NULL ,
[planeNO] [char] (18) COLLATE Chinese_PRC_CI_AS NULL ,
[commonPrice] [numeric](18, 2) NULL ,
[commercialPrice] [numeric](18, 2) NULL ,
[firstPrice] [numeric](18, 2) NULL ,
[airlineMemo] [text] COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE TABLE [dbo].[customerInfo] (
[customerNO] [char] (14) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[customerName] [char] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[customerSex] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[customerID] [char] (18) COLLATE Chinese_PRC_CI_AS NULL ,
[customerTele] [char] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[customerType] [char] (14) COLLATE Chinese_PRC_CI_AS NULL ,
[customerMemo] [text] COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE TABLE [dbo].[customerType] (
[ctypeNO] [char] (14) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[ctypeName] [char] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[discount] [numeric](2, 0) NULL ,
[ctypeMemo] [text] COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE TABLE [dbo].[planeInfo] (
[planeNO] [char] (18) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[planeType] [char] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[buyDate] [datetime] NULL ,
[serveDate] [datetime] NULL ,
[isCommon] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[isCommercial] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[isFirst] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[planeMemo] [text] COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE TABLE [dbo].[serviceInfo] (
[serviceNO] [char] (4) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[serviceName] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[noPresent] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[noNewsPaper] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[noDrink] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[noFood] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[noMovie] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[canChange] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[canCancel] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[canDiscount] [char] (2) COLLATE Chinese_PRC_CI_AS NULL ,
[serviceMemo] [text] COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
CREATE TABLE [dbo].[ticketInfo] (
[ticketNO] [char] (14) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[customerNO] [char] (�
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
vb+SQL航空公司管理系统(论文+程序).rar (28个子文件)
vb+SQL航空公司管理系统(论文+程序)
vb+SQL航空公司管理系统(论文+程序)
vb+SQL航空公司管理系统(论文+程序)
frmCustomer.frm 7KB
frmService1.frm 12KB
frmPlane.frm 7KB
frmCustomer2.frm 5KB
MSSCCPRJ.SCC 343B
航空管理信息系统主程序.exe 252KB
frmAbout.frm 9KB
frmAirline1.frm 14KB
航空公司管理信息系统论文.doc 723KB
frmcType.frm 7KB
frmCustomer1.frm 10KB
SQL
TICKET.SQL 9KB
frmAirline.frm 8KB
Module1.bas 2KB
MIS_TICKET.vbw 1KB
frmTicket2.frm 10KB
frmLogin.frm 4KB
frmService.frm 7KB
Ticket_MIS.vbw 79B
frmAirline2.frm 4KB
MIS_TICKET.vbp 1KB
frmAbout.frx 778B
frmTicket.frm 8KB
frmcType1.frm 7KB
frmMain.frm 4KB
frmPlane1.frm 11KB
frmPlane2.frm 5KB
frmTicket1.frm 18KB
共 28 条
- 1
资源评论
Soft_Leader
- 粉丝: 1508
- 资源: 2850
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功