How to define the data items to receive the fetch items for
the SQL?
Answer Posted / mehdee
Example:
EXEC SQL
FETCH AA_CURS
INTO :Host-name1, Host-name2, ...
EXEC-END
Note: Host-names listed are one to one related to the
Columns at DECLARE AA_CURS, and are INCLUDEed from it's
DB2 DECLGEN name in the program.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between bind and rebind in db2?
What is db2 plan table?
What is check constraint. Explain with example.
What os does db2 run on?
What is meant by union and union all?
What is the physical storage length of date data type?
Is ibm db2 free?
What is buffer pool?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
How to restart a DB2 program?
How can you count the number of rows from a table tab?
Name the lockable units in DB2?
What are bind parameters in db2?
What is catalog database in db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.