昨天在写用SQLSERver的连接时发现一点小问题.
Statement stmt= conn.createStatement();
Statement stmt= conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
在使用前一句时,distinct没错,但使用后一句时,distinct会出现问题.
昨天在写用SQLSERver的连接时发现一点小问题.
Statement stmt= conn.createStatement();
Statement stmt= conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
在使用前一句时,distinct没错,但使用后一句时,distinct会出现问题.