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
How to check table size in db2 sap?
What is syscat in db2?
What are union and union all?
what is diffrence b/w file-aid tool and file-aid utility???
What is role in db2?
What is view db2?
What are db2 tables?
How to get the ddl of a table in db2?
How would the varchar column remarks defined?
What is the syntax for seeing the columns and data types of a table in the db2 database?
What is netezza database?
What does db2 blu stand for?
Explain dclgen.
Which component is responsible for db2 startup and shutdown?
How to fetch the last row from the table in SQL (db2)?