Here you can find DB2 Interview Questions and Answers.
In this DB2 Interview Questions and Answers section you can learn and practice DB2 Interview Questions and Answers to improve your skills in order to face technical inerview by IT companies. By Practicing these interview questions, you can easily crack any DB2 interview.
AllIndiaExams provides you lots DB2 Interview Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download DB2 Interview Questions and Answers as PDF files and eBooks.
You no need to worry, we have given lots of DB2 Interview Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the DB2 technical interview.
DB2 is a Database Management System for the MVS Operating System where, DB2 is a subsystem of MVS Operating System.
What is the purpose of using COMMIT?
The data changes can be made permanent by using COMMIT. It also permits data to be accessed by other applications who can reference the committed data
List out the Data types available
1. SMALLINT 2. INTEGER 3. FLOAT 4. DECIMAL 5. CHAR 6. VARCHAR 7. DATE 8. TIME
SQL Communication Area is a structure of variables, which are updated after every execution of SQL statements. For an application that contains executable SQL statements, only one SQLCA is needed. FORTRAN need more than one SQLCA to be provided. For Java, SQLCA is not applicable
Define CHECK constraint
It is specified as a condition or criteria to ensure data integrity. A value to be inserted or updated to a table is tested by CHECK constraint. The CHECK constraints are created during the creation of the table.
What is SQLCAâ€™s maximum length?
136 is the maximum length of the SQLCA.
Discuss about DB2 bind?
The process that builds access paths to the DB2 table is known as bind. The bind uses Database Request Modules from the DB2 pre-compile step as input and produces an application plan. It checks for user authentication and validates SQL statements in the DBRM(s).
List out the three types of page locks that can be held.
Exclusive Update Share.
Define buffer pool?
The buffer pool is a reserved main storage, which is to satisfy the buffering requirements for one or more table spaces or indexes. It can be made up of either 4K or 32K pages.
Explain the function of Data Manager
The physical database is managed by the DB2 component called Data manager. It invokes other system components to perform logging, locking etc.