-
What is the self-referencing constraint?
A31. The self-referencing constraint limits in a single table the changes to a primary key that the related foreign key defines. The foreign key in a self referencing table must specify the DELETE CASCADE rule.
-
How does Db2 use multiple table indexes?
DB2 use the multiple indexes to satisfy multiple predicates in a SELECT statement that are joined by an AND or OR.
-
What is a root page?
The opposite of a leaf page; it is the highest level index page. An index can contain only the one root page; all other index pages are associated to the root.
-
What is an asynchronous write?
. It is a write to disk that may occur before or long after a commit. The write is controlled by the buffer manager.
-
How can you split db2 table in to exactly half?
Can we divide it row wise or col wise.?is there any query for this.?
-
-
-811 abend
When will occur -811 abend? how will u resolve the -811 abend?
-
-
-
Given a read-only application that requires consistent data for every query, which isolation levels should it use to provide the most concurrency with other applications doing updates?
Given a read-only application that requires consistent data for every query, which of the following isolation levels should it use to provide the most concurrency with other applications doing updates? A. Read Stability B. Repeatable Read C. Cursor Stability D. Uncommitted Read
-
What is the full form of DBRM ?
a.Database Restrict Modelb.Database Resurrect Modelc.Database Request Moduled.Database Reference Modulee.Database Restrict ModuleDatabase Request Module
-
What is a DB2 plan?
An application plan or package is generated by the bind to define an access path.
-
DB2 Large Objects (LOB) Columns
In DB2, Large Objects (LOB) Columns are used to store large objects (Documents, pictures, voice, and mixed media) in database. Which of the following clauses can't be used on LOB columns?a) GROUP BYb) HAVINGc) ORDER BYd) NONE OF THE ABOVE
-
-
What is the difference between IN subselects and EXISTS subselect?
If there is an index on the attributes tested an IN is more efficient since DB2 uses the index for the IN. (IN for index is the mnemonic).
-
What is tablespace?
Tables are stored in tablespaces (hence the name)! There are three types of tablespaces: simple, segmented and partitioned.
-
-
Explain an outer join?
An outer join includes rows from tables when there are no matching values in the tables.
-
-
DB2 WITH HOLD option
What does WITH HOLD option do ?forces cursor to close after commitb.Keeps cursor open after commitc.Does not allow cursor to close till all rows are fetchedd.Locks the cursore.None of the aboveKeeps cursor open after commit
DB2 Interview Questions
Ans