cqyz.sql

来自「十分好的一个医院管理系统」· SQL 代码 · 共 23 行

SQL
23
字号
create table cqyz(     //长期医嘱表
hoscode char(4) not null,			//医院登记号
riceiptcode char(12) not null,		//处方(住院明细)号
advdate smalldatetime not null,	//医嘱开出时间
doctor char(10)  not null,	//开嘱医生
seqno smallint not null,			//记录号
unitcode char(6) not null,			//单位编号
personcode char(12) not null,		//个人编号
tollitem char(60) not null,		//收费项目
dosis char(10) null,					//剂型
bulkunit char(4) null,				//散装单位
saleprice numeric(10,4) not null,//零售价
quantity int not null,				//数量
convertp numeric(5,0) not null,	//转换率
specflag tinyint not null,			//特批标志
mcflag tinyint not null,			//统筹类型标志
mcselfpay numeric(10,2) not null,//统筹参数
itemfee numeric(10,4) not null,	//该收费项目费用
tolltype char(10) not null,		//医保收费项目类型
effectflag tinyint not null,		//有效标志
updateflag char(1) null,			//更新标志
constraint p_mcrecordlist primary key nonclustered (hoscode,riceiptcode,seqno) on 'default');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?