what is dynamic cursor?gives syntax for this?
Answer / harsha
Working-Storage Section.
01 WS-FIELD.
49 WS-FIELD-TEXT PIC X(40).
49 WS-FIELD-LEN PIC S9(4) COMP.
PROCEDURE DIVISION.
MOVE +45 TO WS-FIELD-LEN.
MOVE 'UPDATE TAB1
SET ----=:----- WHERE ---=:----'
TO WS-FIELD-TEXT.
EXEC-SQL
EXECUTE IMMEDIATE:WS-FIELD
END-EXEC.
| Is This Answer Correct ? | 1 Yes | 0 No |
what are stage one indexable predicates?
What is catalog database in db2?
Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code?
How can i install db2 9.x on AIX based system..? plz reply the detailed steps involved....?
What happens to the PLAN if index used by it is dropped?
What is a recovery log?
what is REORG? what is the use?
what is commit & rollback? When and where is used while compiling a cobol-db2 program?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
What is access path in db2?
What is a buffer pool?
explain about index with examples