过滤的关键字distinct 与动态游标冲突怎么解决
过滤的关键字distinct 与
Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);冲突
<%
String StrSql="select distinct sno,sname from TStudents";
ResultSet RS = workM.executeQuery(StrSql);
while (RS.next()){
%>//workM为一个bean
去掉distinct ,String StrSql="select sno,sname from TStudents";就正常了,怎么解决两者的冲突