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 difference between isnull and coalesce?
What is a storage group (stogroup)?
Which isolation level provides maximum concurrency?
What is a db2 cursor?
On which levels locks can be applied?
How to get the ddl of a table in db2?
What are catalog tables in db2?
What is a db2 table?
Explain in detail about buffer manager and its functionalities?
What is the difference between dbm cfg and db cfg file in db2 ?
in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?
What is a buffer in memory?
Define db2.
What is drop table?
What is dbrm? What it contains? When it will be created?