A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
DB2 UDB 9.x and CURSORS
Joined: Jul 29, 2003
Jan 13, 2009 09:39:22
Hi, I have used cursors in Oracle and executed them from
, however I am not able to find out the DB2 Type to be set in my registerOutParameter. Can anyone suggest what it should be?
CREATE PROCEDURE getRecords () LANGUAGE SQL
DYNAMIC RESULT SETS 1
DECLARE C1 CURSOR FOR SELECT user_id, pswrd, answ_sec_text FROM indv_temp;
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: DB2 UDB 9.x and CURSORS
Accessing multiple resultsets
Set cursor from a .cur file.
JSP - Unsupported Operation Exception
Callable Statement - Cursors
Handling cursor declared in oracle in java program
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015