您的位置:首页 > 数据库

怎么在数据库表里面自动插入日期字段

2014-05-19 17:09 204 查看

String sql="insert into t_testinfo (userId,main_food,vegetable,meat,method,mood,sport_amount,health_ill," +

"body_condition,fubu_condition,fubu_pain_position,fubu_pain_reason,fubu_pain_serious,past_cacation_times," +

"now_cacation_times,cacation_time,cacation_feeling,cacation_taste,cacation_control,cacation_have," +

"take_laxatives,blood_cacation,date) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,NOW())";
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐