Which of the following is not a field in SQLCA?
-
sqlcode
-
sqlwarn
-
sqlstate
-
sqlsdmp
D
Correct answer
Explanation
SQLCA (SQL Communications Area) is a DB2 structure that provides information about SQL statement execution. The standard fields include SQLCODE (return code), SQLWARN (warning flags), and SQLSTATE (status code). SQLSDMP is not a standard SQLCA field - it's a distractor. SQLCA is defined in IBM's DB2 documentation and SQL standards.