码迷,mamicode.com
首页 > 其他好文 > 详细

零散语句备忘

时间:2018-01-14 14:27:31      阅读:106      评论:0      收藏:0      [点我收藏+]

标签:bsp   body   class   param   表数   import   value   har   语句   

truncate `xxx`; //删除表数据 
truncate table  student;

var LOGINNAME = $("input[name=‘logname‘]").val();//取值
param.setLoginTime(new Timestamp(System.currentTimeMillis())); //Timestamp时间戳 import java.sql.Timestamp;

insert into student(name,age,gender,telephone,email,
classId,regDate,className)values
(小花,22,,11111111,123123@qq.com,
11,2017-06-14,s24);
select  to_days(CURRENT_DATE,yyyy-MM-dd hh24:MI:ss) from student;
select * from  student  where 1=1 and name like %小花% and regDate between  2017-06-14 and  2017-06-14 order by id;
 
SELECT TO_CHAR(CURRENT_DATE, yyyy-MM-dd hh:MM:ss)

 

零散语句备忘

标签:bsp   body   class   param   表数   import   value   har   语句   

原文地址:https://www.cnblogs.com/DanBrown/p/8283224.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!