我需要的結果從執行批量設定:如何從executeBatch獲取ResultSet?
String [] queries = {"create volatile table testTable as (select * from orders) with data;",
"select top 10 * from testTable;" ,
"drop table testTable" };
for (String query : queries) {
statement.addBatch(query);
}
statement.executeBatch();
那些我執行批處理我怎樣才能得到結果從選擇查詢設置?
可能的重複http://stackoverflow.com/questions/21118698/retrieve-resultset-using-callablestatement-after-executebatch –