摘要: 问题: 执行SQL,当无返回值时,会提示“ORA-01403未找到任何数据”。 create or replace trigger tri_kf_trial before insert on kf_trial for each row declare v_id varchar2(25); begin 阅读全文
posted @ 2023-11-06 08:53 cqyyck 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 需求:阶梯价计算。 如有以下区间价格,当销量落在0-2000区间,单台奖励100元,落在2000-5000时奖励80,.....以此类推。 例如当销量为11000,共奖励:2000*100+(5000-2000)*80+(10000-5000)*60+(11000-10000)*50=790000元 阅读全文
posted @ 2022-07-23 15:34 cqyyck 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 问题: 柱形图中标签的值被隐藏! 解决办法 方式1.设置Y轴的最大值。 方式二:开启重叠调整 阅读全文
posted @ 2022-01-17 11:09 cqyyck 阅读(811) 评论(0) 推荐(0) 编辑
摘要: 一、SE93,创建Tcode,选择【使用参数的事务(参数事务)】 二、相关参数配置 阅读全文
posted @ 2021-12-14 15:31 cqyyck 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 一、问题: eclipse搭建环境执行Map Reduce程序时,提示“org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z” . 二、处理办法: 下载hadoop.dll文件。 放置在 C:\Win 阅读全文
posted @ 2021-12-09 16:20 cqyyck 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1.需要在项目的src/main/resources目录下,新建一个文件,命名为“log4j.properties”,在文件中填入。 2.插入代码 log4j.rootLogger=INFO, stdout log4j.appender.stdout=org.apache.log4j.Console 阅读全文
posted @ 2021-12-01 09:03 cqyyck 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 一、配置有3个副本,但是实际显示只有一个副本。 二、原因: 防火墙没有关闭。 [ck@hadoop103 hadoop-3.1.3]$ systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firew 阅读全文
posted @ 2021-11-30 10:46 cqyyck 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 一、AT NEW 、AT END OF 1.1、语法 AT NEW F. 代码段.. ENDAT. F是内表的一个字段,当内表中F字段以及F左边的任何字段内容发生变化时,执行其中的代码段。 AT END OF F. 代码段.. ENDAT. 当F字段以及F左边字段内容即将发生变化时,执行代码段。 1 阅读全文
posted @ 2021-08-26 08:59 cqyyck 阅读(2062) 评论(0) 推荐(0) 编辑
摘要: clear:lv_message. CALL FUNCTION 'CO_ZF_ORDER_LOCK' EXPORTING aufnr = gt_data-aufnr autyp = '10' client = sy-mandt scope = '2' * SIMULATE = ' ' EXCEPTI 阅读全文
posted @ 2021-07-13 14:03 cqyyck 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 1、在Excel中打开VB代码编辑器 2、在【插入】-【模块】中编写代码。 Function InStrRev(str As String, findstr As String) InStrRev = VBA.InStrRev(str, findstr) End Function 3、excel中执 阅读全文
posted @ 2021-07-06 20:52 cqyyck 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1.物料新建批次时,提示“工厂xxxx的批次中未处理物料xxxxxxxx”. 物料中没有启用批次管理功能。 2.“只能在公司代码 2021/053 的期间 2021/041 和 90102 中记帐” (1)在OB52修改对应公司的开始账期、结束账期。 (+ 对所有帐户类型都有效、A 资产、D 客户、 阅读全文
posted @ 2021-06-11 14:29 cqyyck 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 一、需求 有如下这样一组数据: SQL> select * from score; ID CHINESE MATH ENGLISH 10001 91 98 87 10002 81 87 79 希望得到如下结果: ID CHINESE MATH ENGLISH MAX MIN 10001 91 98 阅读全文
posted @ 2021-05-06 10:34 cqyyck 阅读(1824) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://blog.itpub.net/28929558/viewspace-1182183/ 销售表: SQL> select * from criss_sales where dept_id = 'D02' order by sale_date ; DEPT_ID SALE_DAT 阅读全文
posted @ 2021-05-06 10:20 cqyyck 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 1.执行netstat -tunlp | grep 4142,发现端口被占用。 [atguigu@hadoop102 ~]$ netstat -tunlp | grep 4142 (Not all processes could be identified, non-owned process in 阅读全文
posted @ 2021-03-31 13:24 cqyyck 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 多数据源汇总案例 1.案例需求: hadoop103上的Flume-1监控文件/opt/module/group.log hddoop102上的Flume-2监控某一个端口的数据流, Flume-1与Flume-2将数据发送给hadoop104上的Flume-3,Flume-3将最终数据打印到控制台 阅读全文
posted @ 2021-03-29 13:08 cqyyck 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 单Source、Channel多Sink(负载均衡) 1. 案例需求 使用Flume-1监控文件变动,Flume-1将变动内容传递给Flume-2,Flume-2负责存储到HDFS。同时Flume-1将变动内容传递给Flume-3,Flume-3也负责存储到HDFS。 2. 需求分析 3.实现步骤 阅读全文
posted @ 2021-03-29 13:07 cqyyck 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1)案例需求 使用Flume-1监控文件变动,Flume-1将变动内容传递给Flume-2,Flume-2负责存储到HDFS。同时Flume-1将变动内容传底给Flume-3,Flume-3负责传递给Local FileSystem。 2)需求分析 3)实现步骤 1.准备工作 在/opt/modul 阅读全文
posted @ 2021-03-29 09:59 cqyyck 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Flume安装步骤 1)将apache-flume-1.9.0-bin.tar上传到Linux的/opt/software目录下 2)解压apache-flume-1.9.0-bin.tar到/opt/module目录下。 [ck@hadoop102 software]$ tar -zxf apac 阅读全文
posted @ 2021-03-29 09:57 cqyyck 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 2021-03-19 08:29:48,243 (lifecycleSupervisor-1-3) [ERROR - org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java 阅读全文
posted @ 2021-03-29 08:17 cqyyck 阅读(1380) 评论(3) 推荐(0) 编辑
摘要: 1)案例需求 实时监控Hive日志,并上传到HDFS在。 2)需求分析 3)实现步骤: 1.Flume要想将数据输出到HDFS,必须持有Hadoop相关的jar包 将commons-configuration-1.6、commons-io-2.4、hadoop-auth-2.9.0、hadoop-c 阅读全文
posted @ 2021-03-17 21:03 cqyyck 阅读(296) 评论(0) 推荐(0) 编辑