1、修改字段名: alter table 表名 rename column A to B 2、修改字段类型: alter table 表名 alter column 字段名 type not null 3、修改字段默认值 alter table 表名 add default (0) for 字段名 ...
分类:
数据库 时间:
2021-02-20 11:58:41
阅读次数:
0
一、观察者模式在 JDK 应用的源码分析 1、JDK 的 Observable 类就使用了观察者模式 2、源码分析 Observable 通过 Vector 来管理 Observer 其中提供了 add/delete/notify 等方法来管理观察者; Observer 是一个接口,提供了一个 up ...
分类:
其他好文 时间:
2021-02-20 11:49:24
阅读次数:
0
转:Mysql SQL查询今天、昨天、n天内、第n天的数据 查询5分钟前的数据select * from table where end_date between date_add(now(), interval - 300 SECOND) and NOW() 查询当天的所有数据 SELECT * ...
分类:
数据库 时间:
2021-02-19 13:50:30
阅读次数:
0
1. 执行cmd 2. cmd命令模式下输入netstat -ano,然后找到占用端口的那个进程 如下图.. 3.PID号为1488的进程占用着8080端口,打开任务管理器查看详细信息,查找PID号为1476进程,点击结束任务即可,如下图所示( 也可以直接 使用命令taskkill /pid 984 ...
分类:
编程语言 时间:
2021-02-19 13:47:32
阅读次数:
0
###1、安装docker yum安装 # 安装依赖包 yum install -y yum-utils # 添加docker源 yum-config-manager --add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/dock ...
分类:
其他好文 时间:
2021-02-19 13:39:03
阅读次数:
0
ArrayList源码 以ArrayList的add()方法为例 /** * 新增元素操作 */ // eg1:第一次新增元素e="a1", public boolean add(E e) { /** 确定是否需要扩容,如果需要,则进行扩容操作*/ ensureCapacityInternal(si ...
分类:
其他好文 时间:
2021-02-18 13:31:47
阅读次数:
0
1.防火墙开放端口 firewall-cmd --zone=public --add-port=8848/tcp --permanent firewall-cmd --list-ports 开放centOS 网关,远程连接 grant all privileges on *.* to 'root'@ ...
参考答案 assume cs:code, es:data data segment a db 1,2,3,4,5,6,7,8 b dw 0 data ends code segment start: mov ax, data mov es, ax mov si, 0 mov cx, 8 s: mov ...
分类:
编程语言 时间:
2021-02-18 13:26:00
阅读次数:
0
官网的样式 本地的样式 修改一下这里就好了 div.el-card__body { padding: 16px !important; } ...
分类:
编程语言 时间:
2021-02-18 13:25:44
阅读次数:
0
Introdution STM32Fxxx 系列的MCU, 似乎有分類成 low-, medium-, high-, XL-density 4種不同Flash大小的產品。 個人是常常忘記所以在此筆記。 Flash : 通常放置程式碼, const常數變數, 掉電資料不消失。 存取速度較慢 RAM : ...
分类:
数据库 时间:
2021-02-18 13:22:05
阅读次数:
0