sql查询当天数据
摘要:
向数据库中添加日期MS SQL SERVER:NSERT into student(studentid,time1)values('15',getdate());MY SQLinsert into tablename (fieldname) values (now())取得数据库某表的所有行数Connection conn=DbConnection.connectToDb(); Statement stat=conn.createStatement(); ResultSet rs=stat.executeQuery("select count(*) from book 阅读全文
posted @ 2013-10-23 13:34 restService 阅读(1485) 评论(0) 推荐(0) 编辑