Answer Posted / 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 |
Post New Answer View All Answers
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
Give the name of some fields form sqlca.
List down the data types in the db2 database.
What is buffer pool and list some of them?
What is deadlock in db2?
What do you mean by cursor?
How do you find the maximum value in a column in db2?
define clustering index.
What does a deadlock mean in DB2?
Which component is used to execute the sql statements?
When the like statement is used?
what is the sqlcode -501
How to run db2 command in windows?
Define data page.
What is the result of open cursor statement?