Ravinder Reddy Pandiri wrote:
hi,
I am getting the following error while executing the the line
s.executeUpdate("get cursor c1 as 'select * from t2'");
Hi Ravinder,The get cursor syntax is ij syntax. In a java program, you should use the JDBC method Statement.setCursorName(String cursorName) to set the name and then Statment.executeQuery() to execute the query.
