上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页
摘要: 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) 编辑
摘要: import paramiko print(paramiko) 阅读全文
posted @ 2020-12-18 11:06 rjm123456 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: Oracle创建database link(dblink)和同义词(synonym) 同一个数据库不同用户之间建立dblink和synonym 1.建立dblink 实现在A用户下通过dblink访问B用户下的数据库表,需要在A用户下创建访问B库的dblink连接 --创建远程连接dblink语句示 阅读全文
posted @ 2020-12-03 10:52 rjm123456 阅读(976) 评论(0) 推荐(0) 编辑
摘要: 1.封装查询 数据库虽然可以存储海量数据,但是在数据表设计上却不可能为每种关系创建数据表。例如,对于学生表,存储了学生信息,学生的属性包括学号、姓名、年龄、家庭地址等信息;而学生成绩表只存储了学生学号、科目、成绩等信息。现需获得学生姓名及成绩信息,那么就需要创建一个关系,该关系需要包含学生姓名、科目 阅读全文
posted @ 2020-12-03 10:01 rjm123456 阅读(446) 评论(0) 推荐(0) 编辑
摘要: select a.constraint_name,a.column_name from user_cons_columns a ,user_constraints bwhere a.constraint_name = b.constraint_name and b.constraint_type=' 阅读全文
posted @ 2020-12-03 09:36 rjm123456 阅读(1912) 评论(0) 推荐(0) 编辑
摘要: 48 10 *** source ~/.bash_profile && python /home/dcol/remote/markit/main.py 阅读全文
posted @ 2020-11-20 10:36 rjm123456 阅读(67) 评论(0) 推荐(0) 编辑
摘要: select * from nls_database_parameters a where a.parameter like '%NLS_CHARACTERST%'; 阅读全文
posted @ 2020-11-20 10:31 rjm123456 阅读(586) 评论(0) 推荐(0) 编辑
摘要: create or replace trigger dcs_batch_id_tri before insert into on dcs_collect_batch for each row when (new.dcs_id is null) begin select dcs_collect_bat 阅读全文
posted @ 2020-11-17 14:21 rjm123456 阅读(75) 评论(0) 推荐(0) 编辑
摘要: falshback table dcs_collect_bash to timestamp to_timestamp('2020-11-06 18:00:00', 'yyyy-mm-dd hh24:mi:ss') alter table dcs_collect_batch enable row mo 阅读全文
posted @ 2020-11-17 14:16 rjm123456 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页