摘要:
--查找数据库实例select * from v$instance --查看所有表空间select name from v$tablespace; --时间格式select to_char(a.admission_date_time,'yyyy-MM-dd HH24:mi:ss') aa from 阅读全文
摘要:
1.新建一个存储过程 create or replace procedure GetInpatients_Test isbegin for item in (select ttt.dept_admission_to as dept_id, count(ttt.dept_admission_to) a 阅读全文
摘要:
create or replace function count_days_diff(start_time date ,end_time date)RETURN NUMBERisTMP DATE ;days number ; begin if end_time is null then return 阅读全文