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(
相关文章
相关标签/搜索