- 博客(3)
- 收藏
- 关注
原创 MySQL查询时给字段赋默认值
问题:查询account表时,并不想让用户查出密码来,所以要给密码赋一个默认值。select id,null as password from account order by id;结果:可以看出密码统一赋成了null。
2017-08-29 18:10:47 3910
原创 MySQL查看并修改自增长ID
如何查看:方法一:查找MySQL自带的数据库information_schema的TABLES表的AUTO_INCREMENT字段SELECT AUTO_INCREMENTFROM information_schema.TABLESWHERE TABLE_SCHEMA='cmdb' AND TABLE_NAME='subscribe';结果如下:方法二:...
2017-08-25 15:36:24 663
转载 Maven 项目打不同名称的war包
问题描述:I have two profiles in my pom.xml for our application…dev (for use on a developer’s)prod (production).When we run our maven build all three profiles output a war file with the same name. I woul
2017-08-15 17:36:18 1446
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人