Skip to content

Commit ce4e928

Browse files
committed
Update Java Notes
1 parent 8dbea95 commit ce4e928

File tree

3 files changed

+251
-225
lines changed

3 files changed

+251
-225
lines changed

DB.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,15 @@ MySQL配置:
342342
| TIMESTAMP | 时间戳类型,包含年月日时分秒:yyyy-MM-dd HH:mm:ss<br />如果不给这个字段赋值或赋值为null,则默认使用当前的系统时间 |
343343
| VARCHAR | 字符串<br />name varchar(20):姓名最大20个字符:zhangsan8个字符,张三2个字符 |
344344

345-
- 例如:
345+
`INT(n)`:n代表位数
346346

347+
* 3int9)显示结果为000000010
348+
* 3int3)显示结果为010
349+
350+
`varchar(n)`:n表示的是字符数
351+
352+
- 例如:
353+
347354
```mysql
348355
-- 使用db3数据库
349356
USE db3;

0 commit comments

Comments
 (0)