大数据
-
MySQL之concat的用法
一、concat()函数 1、功能:将多个字符串连接成一个字符串。 2、语法:concat(str1, str2,...) 说明:返回结果为连接参数产生的字符串,如果有任何一个参数为null,则返回值为null。 3、举例:select concat (id, n…
-
SQL获取每月每周每年的第一天和最后一天
DECLARE@dtdatetime SET @dt = GETDATE() DECLARE @number intSET @number =3 -- 1.指定日期该年的第一天或最后一天-- A. 年的第一天SELECT CONVERT( char(5), @dt,120) + ' 1-1 ' -- B. 年的最后一天SELECT CONVE…
-
Redis 内存优化神技,小内存保存大数据
大家好,我是「码哥」,大家可以叫我靓仔。 这次码哥跟大家分享一些优化神技,当你面试或者工作中你遇到如下问题,那就使出今天学到的绝招,一招定乾坤! 如何用更少的内存保存更多的数据? 我们应该从 Redis 是如…
-
MySql创建简单的存储过程
MySql创建简单的存储过程 今天是碰巧老师布置了一道作业,要求创建一个简单的存储过程来实现不同的五级制与百分制的成绩转换 题目如下 创建一个存储过程,将一个五级制成绩转换成相对应的分数区间 等级成绩 分数区…
-
Mongodb-Robo 3T使用js函数遍历集合+分割数组+拼接字段+修改对象
db.getCollection("t_ythgk_yjxxfkpz").find({"fkmc": {"$regex":","}}). forEach( function(item) { var tmp = []; var pjtmp = ""; tmp = item.fkmc.split(","); for(var k in tmp){ var fhmc = db.getCollection…
-
MySQL(07-11至07-12)
/消除重复行/ select distinct job from emp; /查看表结构/ describe emp; describe emp; describe salgrade; /where/ select * from emp where deptno = 10; select ename, job, sal, deptno from emp where job =…
-
6.2 整合MongoDB (NoSQL 数据库)
1. 在Spring Boot Web 工程, 添加MongoDB 依赖 <dependency> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-starter-data-mongodb</artifactid> </depe…
-
Dynamic Selection of Measures in Power BI
by Ranjeet Mandal Dynamic Selection of Measures in Power BI This is the second post in KPI's Power BI blog series. In this blog, we will discuss the dynamic selection of measures in Power B…
-
Dynamic Selection of Measures in Power BI
by Ranjeet Mandal Dynamic Selection of Measures in Power BI This is the second post in KPI's Power BI blog series. In this blog, we will discuss the dynamic selection of measures in Power B…
-
New Features for Oracle BI Mobile – OBIEE 11.1.1.7.0
by Rushendra Prasad With this release, we can download a complete new Oracle Mobile BI HD application from the Apple App Store. This release provides end-user enhancements in the following areas…