with Hold cursor in a stored procedure

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
venkatreddy.com
Member
Posts: 3
Joined: Sat Nov 24, 2007 11:21 am

with Hold cursor in a stored procedure

Post by venkatreddy.com » Mon Nov 26, 2007 4:40 pm

can we have with hold cursor in stored procedure? I mean, is it logical to have both with return for and with hold in a single decalration of a cursor in stored procedure?

thanks,
Venkat

User avatar
DavidatK
Active Member
Posts: 65
Joined: Tue Mar 27, 2007 8:41 am
Location: Troy, MI USA

Post by DavidatK » Mon Nov 26, 2007 11:23 pm

Check example 4 given in the

DB2 Reference

It specifically addresses your question

Dave

Post Reply