预付押金carRendModeVarchar50存客户租赁模式carRendTimeDatatime存客户租车时间finallyPayint存客户最终应付carNumberVarchar50存所借的车的命名号DriverNuberVarchar50存所安排司机命名号(4)driverMessage(司机信息表)字段名称数据类型字段大小说明IDInt存司机编号CardIdvarchar50存司机身份证号码Namevarchar50存司机姓名AgeInt存司机年龄HomeAddressvarchar50存司机家庭地址Telephonevarchar50存司机电话号码DrivingLicensevarchar50存司机驾驶证书DriverArrangevarchar50存司机是被安排DriverNumbervarchar50存司机命名编号5.5建立数据库在SQLServer2005中用SQL语句创建数据库:createdatabasecarSystemonprimary(?name=name_data,?filename='F:\carRentaManagementSystem\carDataBase\carSystem.mdf')logon(name=name_log,filename='F:\carRentaManagementSystem\carDataBase\carSystem.ldf')5.6建立数据表一.建立管理员数据表/*table:adminMessage,创建管理员信息数据*/createtableadminMessage(?Idintnotnull,?Namevarchar(50),?sexvarchar(50),?CardIdVarchar(50),?AddressSitevarchar(50),?mobilePhoneNumbervarchar(50))