美文网首页
oracle查询数据最后上传时间

oracle查询数据最后上传时间

作者: Jan2333 | 来源:发表于2017-10-31 11:37 被阅读0次

select max(t.last_update_dtime) from BASEINFO t union all  --基本信息

select max(t.last_update_dtime) from OUTPATIENT t union all  --门诊摘要

select max(t.last_update_dtime) from OUTPATIENT_FEE t union all --门诊费用

select max(t.last_update_dtime) from OUTPATIENT_DRUG t union all --门诊用药

select max(t.last_update_dtime) from OUTPATIENT_DIAG t union all --门诊诊断信息

select max(t.last_update_dtime) from INPATIENT t union all --住院摘要

select max(t.last_update_dtime) from INPATIENT_FEE t union all --住院费用

select max(t.last_update_dtime) from INPATIENT_DRUG t union all --住院用药

select max(t.last_update_dtime) from INPATIENT_INDIAG t union all --住院诊断信息

select max(t.last_update_dtime) from DM_DIABETES2 t union all --糖尿病

select max(t.last_update_dtime) from DM_HYPER t union all --高血压

select max(t.last_update_dtime) from DM_SMI t union all --精神病

select max(t.last_update_dtime) from HEALTHEXAM_COMMUNITY_REG t --体检信息

select * from dw_dim_county t where t.dim_area='410100000000'--查询行政机构编码

select * from rhip_gov_division t where t.gd_p_code='410102000000'--查询机构村级编码

select * from dw_dim_orglist t where t.dim_county='410102000000' and t.dim_catalog='502006' --查询更新医疗机构总表

相关文章

网友评论

      本文标题:oracle查询数据最后上传时间

      本文链接:https://www.haomeiwen.com/subject/auxbpxtx.html