摘要: --查看表空间2select a.tablespace_name 表空间名, round(a.total_size) "表空间大小(MB)", round(a.total_size) - round(b.free_size, 3) "已使用空间(MB)", round(b.free_size, 3) 阅读全文
posted @ 2020-12-21 15:44 rjm123456 阅读(135) 评论(0) 推荐(0) 编辑
摘要: echo "#/bin/sh" >>/app/airflow/tmp_index.sh&&echo "sqlplus -s dcm/dcm_CbPc1@dcsdb.oracle.ccdcpro:11521/dcsdb<<EOF" >>/app/airflow/tmp_index.sh&&echo " 阅读全文
posted @ 2020-12-21 15:26 rjm123456 阅读(109) 评论(0) 推荐(0) 编辑
摘要: --非额度合同SELECT con.contract_num, round((case when SUM(grt.guaranty_amt) >= con.contract_total_amt then con.contract_total_amt else SUM(grt.guaranty_amt 阅读全文
posted @ 2020-12-21 15:24 rjm123456 阅读(207) 评论(0) 推荐(0) 编辑