人事管理信息系统vb+sql
人事管理信息系统 use master go if exists (select * from dbo.sysdatabases where name = 'DBManPower') drop database DBManPower GO create database DBManPower go use DBManPower go if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbUser]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbUser] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbDuty]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbDuty] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbNation]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbNation] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbEdu]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbEdu] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbDep]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbDep] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbEmployee]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbEmployee] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbFamilyMember]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbFamilyMember] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbWorkExp]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbWorkExp] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbWorkRecord]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tbWorkRecord] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TbEvaluation]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[TbEvaluation] GO CREATE TABLE [dbo].[tbUser] ( UserId char(10) NOT NULL , UserPassword char(8) NOT NULL , UserKind varchar(20) NOT NULL, PRIMARY KEY (UserId) ) GO CREATE TABLE [dbo].[tbDuty] ( DutyId char(8) NOT NULL , DutyName varchar(20) NOT NULL , PRIMARY KEY (DutyId) ) GO CREATE TABLE [dbo].[tbNation] ( NationId char(3) NOT NULL, NationName varchar(20) NOT NULL, PRIMARY KEY (NationId) ) GO CREATE TABLE [dbo].[tbEdu] ( EduId char(2) NOT NULL , EduName varchar(20) NOT NULL , PRIMARY KEY (EduId) ) GO CREATE TABLE [dbo].[tbDep] ( DepId char(8) NOT NULL , DepName varchar(30) NOT NULL , Describe varchar(100) NULL , PRIMARY KEY (DepId) ) GO CREATE TABLE [dbo].[tbEmployee] ( EmpId char(8) NOT NULL , EmpName varchar(30) NOT NULL , Gender char(2) NULL, Age int NULL, NationId char(3) NULL, Birthday datetime NULL, PoliticalParty varchar(20) NULL, MaritalCon varchar(6) NULL , DepId char(8) NULL, HireDate datetime NULL, EduId char(2) NULL, FamilyPlace varchar(20) NULL, IdCard varchar(20) NOT NULL, Email varchar(30) NULL, Officephone varchar(20) NULL, Homephone varchar(20) NULL, Mobile varchar(20) NULL, State varchar(20) NOT NULL , Residence varchar(100) NULL, Postcode varchar(10) NULL, DutyId char(8) NULL, RecorId char(10) NULL, PRLocation varchar(50) NULL, EmpIdRecord varchar(30) NULL, PRIMARY KEY (EmpId) ) GO CREATE TABLE [dbo].[tbFamilyMember] ( Id char(8) NOT NULL , EmpId char(8) NOT NULL , Name varchar(30) NOT NULL, Gender char(2) NULL , Age int NULL, Relationship varchar(20) NULL, WorkingOrg varchar(50) NULL, Tel varchar(20) NULL, PRIMARY KEY (Id) ) GO CREATE TABLE [dbo].[tbWorkExp] ( Id char(8) NOT NULL , EmpId char(8) NOT NULL , StartDate datetime NOT NULL, EndDate datetime NOT NULL, WorkOrg varchar(50) NOT NULL, Position varchar(10) NULL, EduId char(2) NOT NULL , WorkDescri varchar(400) NULL, PRIMARY KEY (Id,EmpId) ) GO CREATE TABLE [dbo].[tbWorkRecord] ( RecordYear char(4) NOT NULL , RecordMonth char(2) NOT NULL , EmpId char (8) NOT NULL, DepId char(8) NULL , DaysPresiMonth int NULL , LeaveDays int NULL , AbsentDays int NULL , VacDays int NULL , ErrandDays int NULL , LateDays int NULL , LeaveEarlyDays int NULL , Ot1Days int NULL , Ot2Days int NULL , Ot3Days int NULL , PRIMARY KEY (RecordYear,RecordMonth,EmpId) ) GO CREATE TABLE [dbo].[tbEvaluation] ( EvaYear char(4) NOT NULL , EvaMonth char(2) NOT NULL , EmpId char (8) NOT NULL, WorkCoe int NULL, WorkDes varchar(400) NULL, WorkEva varchar(300) NULL, PRIMARY KEY (EvaYear,EvaMonth,EmpId) ) GO
- 1
- wx11782013-04-17还行,就是没有word文档说明
- 粉丝: 2
- 资源: 7
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 音乐网站(JSP+SERVLET).rar
- 抢购软件:快速复制信息
- oracle错误代码和信息速查手册chm版最新版本
- MATLAB【逆变器二次调频模型】 微电网分布式电源逆变器DROOP控制二次调频模型,加入二次控制实现二次调频控制,及二次调压控制,程序可实现上图功能,工况有所改变 需要matlab2021A版
- 基于python的网页自动化工具项目全套技术资料100%好用.zip
- Oracle数据库命令速查手册doc版最新版本
- 程序名称:转向设计计算程序 开发平台:基于matlab平台 计算内容:阿克曼转角,转弯半径,转向阻力矩,回正力矩,转向主参数,转向传动比,力矩波动,转向梯形,EPS匹配,HPS匹配,齿轮齿条传动比,循
- 基于二阶自抗扰ADRC的轨迹跟踪控制,对车辆的不确定性和外界干扰具有一定抗干扰性,基于carsim和simulink仿真 跟踪轨迹为双移线,效果良好,有对应复现资料,是学习自抗扰技术快速入门很好的资料
- TianleSoftwareOracle学习手册中文pdf格式最新版本
- MATLAB代码:基于分布式ADMM算法的考虑碳排放交易的电力系统优化调度研究 关键词:分布式调度 ADMM算法 交替方向乘子法 碳排放 最优潮流 仿真平台:MATLAB+CPLEX GUROBI
- Oracle安装配置使用WORD文档doc格式最新版本
- 西门子840D HMI ADVANCED FOR PC 也可用于810D,840DSL中文版 1、软件可安装到台式机或笔记本上,可以连接到机床的NCU进行NC与PLC的数据备份与恢复,备份和恢复的数
- OraclePLSQL简单安装指南WORD文档doc格式最新版本
- 网页数据采集软件项目全套技术资料100%好用.zip
- Oracle高级SQL培训与讲解WORD文档doc格式最新版本
- 超智能体写的人工智能深度学习pdf