DB2 and Oracle Database Fundamentals
Test your knowledge of DB2 and Oracle database concepts including constraints, triggers, data types, utilities, and SQL operations.
Questions
For auto-increment in oracle,sql command is written with the keyword?
- auto_increment
- sequence
- identity
- increment
Memo is an sql data type in oracle.
- True
- False
Which of the following DB2 tools allows a user to execute an SQL statement and view a graphical representation of the access plan?
- Task Center
- Command Editor
- Design Advisor
- Command Line Processor
Which of the following is the lowest cost DB2 product that can be legally installed on an AIX server?
- DB2 Express Edition
- DB2 Personal Edition
- DB2 Workgroup Server Edition
- DB2 Enterprise Server Edition
Which of the following is NOT a valid method of authentication that can be used by DB2 9?
- SERVER
- SERVER_ENCRYPT
- CLIENT
- DCS
An alias can be an alternate name for which of the following DB2 objects?
- Sequence
- View
- Trigger
- Schema
Which of the following DB2 objects can be referenced by an INSERT statement to generate values for a column?
- Sequence
- Identity column
- Trigger
- Table function
Which of the following events will NOT cause a trigger to be activated?
- A select operation
- An insert operation
- An update operation
- A delete operation
Which of the following DB2 objects is NOT considered executable using SQL?
- Routine
- Function
- Procedure
- Trigger
Which of the following is a valid DB2 data type?
- NUMBER
- INTERVAL
- NUM
- BYTE
Which of the following DB2 data types can NOT be used to create an identity column?
- SMALLINT
- INTEGER
- DOUBLE
- NUMERIC
Which of the following actions will NOT cause a trigger to be fired?
- ALTER
- INSERT
- DELETE
- UPDATE
What command eliminates the duplicates.
- union
- union all
- inner join
- outer join
What is the utility used to check the performance of the DB2 SQL query
- Explain
- Xpeditor
- Alchemist
- Abendaid
A plan is a collection of
- Binds
- DBRMs
- Packages
- Collections
The number of levels of subqueries we could use in the SQL is
- 13
- 255
- 78
- 15
The utility used to rearrange the space in the tables is
- Reorg
- Runstats
- Rebinds
- Load
Which is not a type of constraint
- primary key
- unique
- null
- check
Oracle server generates a name by using which format
- sys_cn
- ora_cn
- tab_cn
- col_cn
Constraints are defined at which level
- row, column
- row, table
- column, table
- all of above