- 博客(4)
- 收藏
- 关注
原创 mysql、oracle日期格式化
mysql日期格式化DATE_FORMAT(date,format)date:一个合法日期,format:规定日期或时间输出格式;例子:SELECT id, DATE_FORMAT( T_timestamp,'%Y/%m/%d' ) FROM users; 结果:  { List<String> strings = new test().filterFile("F:\\test"); for (int i = 0; i < strings.size(); i++) { ...
2019-09-18 11:00:14
389
原创 mysql执行字段计算
建表语句:SET NAMES utf8mb4;SET FOREIGN_KEY_CHECKS = 0;-- ------------------------------ Table structure for testcaculate-- ----------------------------DROP TABLE IF EXISTS `testcaculate`;CREATE TAB...
2019-02-26 00:23:16
1257
原创 Arrays实用功能
1.打印数组内容Arrays.toString(arr)public static void main(String[] args) { int[] arr1 = new int[3]; int[] arr2 = new int[5]; Arrays.fill(arr1,11); Arrays.fill(arr2,22); ...
2019-02-18 23:32:57
152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人