?? cqyz.sql
字號:
create table cqyz( //長期醫(yī)囑表
hoscode char(4) not null, //醫(yī)院登記號
riceiptcode char(12) not null, //處方(住院明細(xì))號
advdate smalldatetime not null, //醫(yī)囑開出時間
doctor char(10) not null, //開囑醫(yī)生
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, //數(shù)量
convertp numeric(5,0) not null, //轉(zhuǎn)換率
specflag tinyint not null, //特批標(biāo)志
mcflag tinyint not null, //統(tǒng)籌類型標(biāo)志
mcselfpay numeric(10,2) not null,//統(tǒng)籌參數(shù)
itemfee numeric(10,4) not null, //該收費項目費用
tolltype char(10) not null, //醫(yī)保收費項目類型
effectflag tinyint not null, //有效標(biāo)志
updateflag char(1) null, //更新標(biāo)志
constraint p_mcrecordlist primary key nonclustered (hoscode,riceiptcode,seqno) on 'default');
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -