Oracle試用PreparedStatement出現java.sql.SQLException: 無效的列索引

sql語句以下:select bu.deptno,count(bu.hiredate) StartMonthCount from userinfo bu,dept d where bu.deptno=d.deptno and bu.hiredate<to_date(‘?’,'yyyy-mm-dd') group by bu.deptnojava java程序中調用:pstmt.setString(
相關文章
相關標籤/搜索