select a.projname 工程割接名,a.projstarttime 割接开始时间,a.projendtime 割接结束时间,
c.staff_name 工程割接创建人,d.dept_name 工程割接创建时间,count(*)
from tccs.ucss_112_projinfo a, tccs.ucss_112_object b, tccs.uncc_staff_manager 
c, tccs.uncc_dept_manager d
where b.projname=cast(a.seqid as varchar2(100))
and a.projstarttime>=to_date('20080201 00:00:00','yyyymmdd hh24:mi:ss')
and a.projstarttime<to_date('20080301 00:00:00','yyyymmdd hh24:mi:ss')
and a.create_staff_id=c.staff_id and a.dept_id=d.dept_id
group by a.projname,a.projstarttime,a.projendtime,c.staff_name,d.dept_name
order by a.projstarttime在PLSQL Developer查询输出:2008-2-1 10:00:00
在JSP的ResultSet 输出为:2008-02-01 10:00:00.0
为什么会输出毫秒? 如何才能去除?先谢谢了!!!