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
List down the types of triggers in the db2 database?
What is the meaning concurrency in the db2 database?
What is catalog database in db2?
What kind of database is db2?
Explain correlated sub-queries.
What are the contents of dclgen?
How can you find out the # of rows updated after an update statement?
What is explain plan in db2?
What is reorg and runstats in db2?
What is the reason behind not using select * in embedded sql programs?
What is buffer pool?
What does db2 plan contain?
Mention the definition of cobol in varchar field.
What is release/acquire in bind?
Which command is used to remove all rows from a table?