Navicat premium 使用方法

1.创建布尔值

mysql不提供boolen类型, tinyint 就相当于boolen类型了, 里边只能放1 和 0 ,这俩数就相当于boolen的 true和false了
不一定非得用boole

2.MySQL datetime数据类型设置当前时间为默认值

如果要在navicat下操作的话,将字段设置为timestamp,然后默认值写上CURRENT_TIMESTAMP即可 

原文地址:https://www.cnblogs.com/xbdeng/p/5679026.html

猜你喜欢

转载自blog.csdn.net/qq_39208536/article/details/81632800