
数据库
胖凯
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
JDBC获得数据库连接时,在URL上的?useUnicode=true&characterEncoding=utf-8的意思是什么?
意思是:指定字符的编码、解码格式mysql数据库用的是gbk编码,而你项目的mysql数据库需要的是utf-8编码,所以在url后面添加?useUnicode=true&characterEncoding=utf-8",表示(1)数据库在存放项目数据的时候会先用UTF-8格式将数据解码成字节码,然后再将解码后的字节码重新使用GBK编码存放到数据库中;(2)从数据库中取数据的时候,数...原创 2018-03-11 14:59:38 · 13072 阅读 · 1 评论 -
MySQL执行update的时候报Error Code: 1175. You are using safe update mode and you tried to update......
使用MySQL执行update的时候报以下错误:Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -...原创 2018-03-23 12:08:28 · 474 阅读 · 0 评论 -
oracle 左连接与右连接的区别
前几天面试被问到oracle数据库左连接和右连接的区别,so要记录一下咯原创 2018-05-18 22:32:11 · 4198 阅读 · 0 评论