上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页
摘要: 设置主键(前提是之前的表结构里没有主键) alter table 表名 add constraint 主键约束名 primary key(主键字段); 例如 alter table dept add constraint pk_id primary key(id); 效果图如下 删除主键 alter 阅读全文
posted @ 2020-03-13 15:12 玄空2 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-12 17:35 玄空2 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1、 2、 阅读全文
posted @ 2020-03-12 11:24 玄空2 阅读(198) 评论(0) 推荐(0) 编辑
摘要: /** * @auto hedahai * @create 2020-03-11-16:17 */public class Test002 { public static void main(String[] args) {// 初始化数组 int[][] arr = new int[10][]; 阅读全文
posted @ 2020-03-11 17:02 玄空2 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 2、 3、 阅读全文
posted @ 2020-03-10 20:50 玄空2 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 时区错误,MySQL默认的时区是UTC时区,比北京时间晚8个小时。 所以要修改mysql的时长 在mysql的命令模式下,输入: set global time_zone='+8:00'; 再次连接成功 阅读全文
posted @ 2020-03-10 20:45 玄空2 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1、 2、 3、 4、 5、 6、添加本地项目 7、 阅读全文
posted @ 2020-03-10 18:19 玄空2 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-09 22:32 玄空2 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-09 22:24 玄空2 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-09 22:17 玄空2 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页