When we need to spin up a database instance for our new project, installing the database management system directly on our local machine is almost alw ...
分类:
数据库 时间:
2020-05-18 19:12:00
阅读次数:
67
大致解释:1.先查询语句。2.将语句拼接后赋值给STR。3. 正常运行的语句则返回ATT :=1。4.如果有错误数据则跳过错误语句继续执行(EXCEPTION WHEN OTHERS THEN),且返回ATT :=0。 5. 当 ATT=1 时,则执行另外一个语句。 ...
分类:
数据库 时间:
2020-05-18 18:51:53
阅读次数:
129
1. base64的使用案例 其实从本质上来说,无论是图片还是文字或者字符,都是数据,即最原始的一串0和1组成的二进制数据,API接收或者返回图片,本质上也就是接收或返回一段数据流。向服务器发送图片,大致步骤就是先将以二进制的方式打开,再post到服务器。从服务器接收图片,我这边的做法是服务器端将图 ...
分类:
其他好文 时间:
2020-05-18 18:35:58
阅读次数:
53
题目 People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6 digit number, w ...
分类:
其他好文 时间:
2020-05-18 14:35:03
阅读次数:
49
case when Case具有两种格式。简单Case函数和Case搜索函数。 简单Case函数 CASE sex WHEN '1' THEN '男' WHEN '2' THEN '女' ELSE '其他' END --Case搜索函数 CASE WHEN sex = '1' THEN '男' WH ...
分类:
其他好文 时间:
2020-05-17 23:08:44
阅读次数:
95
前言 在高中数学的学习中,有好几个数学素材,需要转化视角来学习和使用。 三角求值 需要将形如$\theta+\cfrac{\pi}{4}$的角看成一个整体角;比如下例, 例1【2017枣庄模拟】设$\alpha$为锐角,$cos(\alpha+\cfrac{\pi}{6})=\cfrac{4}{5} ...
分类:
其他好文 时间:
2020-05-17 17:54:15
阅读次数:
97
有时候我们在计算完多个工况以后需要对比不同工况的差异,在CFD-Post当中可以使用case comparison来完成这个操作,但是CFD-Post主要是针对CFX和Fluent的后处理,对于其他软件的计算结果可使用Ensight或者ParaView来实现类似CFD-Post当中的case com ...
分类:
其他好文 时间:
2020-05-17 09:18:00
阅读次数:
194
例如我要调用织梦dedecms网站“积分或金钱”排名前14的会员: {dede:loop table=’dede_member’ sort=’money’ num=’0′ if=”} <li> <span class="ytop">[field:autoindex runphp='yes']$aaa ...
分类:
其他好文 时间:
2020-05-16 17:05:55
阅读次数:
77
go——选择和循环 [TOC] if else 用法 写法一 写法二 写法三 switch 用法 写法一 写法二 ...
分类:
其他好文 时间:
2020-05-16 17:02:42
阅读次数:
59
In this lesson, we build a little app that fetches dog photos from the dog.ceo API, based on a "breed" search field. We want the API call to happen ag ...