有两个数据库表,社团表和一个社团分类表,后来突然想加个 各个社团种类下的社团数 这样一个字段count,于是用到了存储过程 navicat中编写存储过程可以直接点上方的函数然后选择存储过程 1 CREATE DEFINER=`root`@`localhost` PROCEDURE `countcat ...
分类:
数据库 时间:
2021-03-02 12:30:20
阅读次数:
0
查看数据表的信息,只能算是优化用户体验 --用户表 if exists(select * from sysobjects where name = 'bi_user') drop table bi_user create table bi_user ( user_id int not null pr ...
分类:
其他好文 时间:
2021-03-01 13:44:56
阅读次数:
0
InfluxDB操作 1. 显示数据库 > show databases > create database test > drop database test 2. 显示说有表 > show measurements InfluxDB数据备份和恢复 备份元数据 1、influxd backup - ...
分类:
数据库 时间:
2021-03-01 13:29:57
阅读次数:
0
增强for循环 格式: for(声明语句:表达式){ //代码 } /** * @author Administrator * @create 2021/2/27 22:46 */ public class Demo05 { public static void main(String[] args ...
分类:
其他好文 时间:
2021-03-01 13:19:47
阅读次数:
0
# 生成命令对应的yaml文件(资源清单)kubectl create deployment xxxxxxxxxxx --image=nginx --dry-run -o yamlkubectl create deployment xxxxxxxxxxx --image=nginx --dry-ru ...
分类:
其他好文 时间:
2021-03-01 13:16:39
阅读次数:
0
######cut -d 指定分隔符 -f 指定列数 1,2,3 [root@rongbiz002 26]# awk '{print $1}' /www/wwwlogs/c2p.rongbiz.com-access_log|head -n5 |cut -d '.' -f 1,2,3 112.64.5 ...
分类:
系统相关 时间:
2021-02-27 13:40:48
阅读次数:
0
linux crontab报以下错误解决 [root@china ~]# crontab -l 拒绝权限You (root) are not allowed to access to (crontab) because of pam configuration. 解决: 1.查看定时任务的日志/va ...
分类:
数据库 时间:
2021-02-27 13:40:22
阅读次数:
0
最左匹配原则 DROP TABLE IF EXISTS employees; CREATE TABLE employees( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(24) NOT NULL DEFAULT '' COMMENT '姓 ...
分类:
数据库 时间:
2021-02-27 13:21:23
阅读次数:
0
https://color.adobe.com/zh/create/color-wheel ...
分类:
其他好文 时间:
2021-02-27 13:08:02
阅读次数:
0
接口地址 String url = "http://testdplan.xaltserver.com/login"; 请求方式:post HttpPost post = new HttpPost(url); 准备测试数据 String mobilephone = "1333333333"; Stri ...
分类:
其他好文 时间:
2021-02-27 13:06:24
阅读次数:
0