个人随笔
huasm1
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据库索引基础知识整理
一、索引1.索引主要分:主键索引、唯一索引、普通索引、全文索引2.创建索引的目的:加快表的查找和排序3.创建索引方法:(1).create index 索引名 on 表名(列表名)(2).alter table 表名 add index 索引名(列表名)(3).create table 表名(index 索引名(列表名))4.查看索引:show index from转载 2017-10-22 11:40:10 · 483 阅读 · 0 评论 -
MyBatis数据库层相关配置
一、datasource.properties文件配置driver=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/mybook?useUnicode=true&characterEncoding=UTF-8jdbc.username=rootjdbc.userpwd=root二、SqlMapConfig.转载 2017-10-23 21:17:53 · 301 阅读 · 0 评论
分享