- 博客(4)
- 收藏
- 关注
原创 mysql导入导出部分数据方法
Load Data InFile 'C:/Data.txt' Into Table `TableTest` Lines Terminated By '\r\n'; select * from cus_customer where id in (20,21,22) into outfile 'e://1.sql’ 与mysqldump和souce的区别是,load data i
2016-11-02 13:56:06 1990
原创 mysql中时间转换
FROM_UNIXTIME(1460451520,'%Y-%m-%d') 得到YYYY-MM-dd UNIX_TIMESTAMP(’1970-01-01‘); 得到毫秒值,参数为空则表示当前时间 SYSDATE();和NOW().都是当前时间,好像有一个是编译之前,有一个是动态生成时间
2016-04-12 17:02:47 608
原创 springmvc类型转换
package com.ssfans.core.controller; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import org.springframework.beans.propertyeditors.CustomDateEditor
2016-03-02 23:04:15 295
原创 spring单元测试
package com.tian; import java.util.Date; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.
2016-03-01 21:59:59 229
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人