what is the total syntax for fetch ? can any one please give
me all the details of fetch ? thx
Answer Posted / sree
YES THE ABOVE SYNTAX IS CORRECT
IF THERE ARE MORE THAN ONE HOSTVARIABLES,IE IF THERE ARE
MORE COLUMNS IN THE DB2 TABLE
SYNTAX IS
EXEC SQL
FETCH CURSORNAME INTO :HOSTVARIABLE1 ,
:HOSTVARIABLE2 ,
---
---
:HOSTVARIABLEN
END-EXEC
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are the contents of dclgen?
How do I optimize a query in db2?
How do you eliminate duplicate values in db2?
How do I connect my db2 database to ibm?
How to find schema of a table in db2?
What is dclgen (declaration generator)?
What is commit in db2?
What is the syntax for FETCH in DB2 ?
How can you count the number of rows from a table tab?
What is cascading rollback?
define clustering index.
What are the uses of db2 optimizer?
Explain correlated sub-queries.
Explain how can you do the explain of a dynamic sql statement?
What is ibm db2 client?