Database Concepts and SQL Quiz
Test your knowledge of database concepts including SQL commands, data types, cursors, storage management, transactions, and database administration across Oracle and DB2 systems.
Questions
Which command will delete all data from a table and will not write to the rollback segment?
- DROP
- DELETE
- REMOVE
- TRUNCATE
What is the default behaviour of OUT parameter mode in PL/SQL
- By value
- By reference
- By type
- none of the above
What is RAC
- Real abstarct clusters
- Real application cursors
- Real application clusters
- none of the above
One Terabyte equals to
- 10 ^ 6
- 10 ^ 9
- 10 ^ 12
- 10 ^ 15
Absence of value is NULL
- True
- False
Predefined, stored set of SQL statements is called Macro
- True
- False
Parsing engine Manages and retrieves data from disk storage
- True
- False
A user will always have a password
- True
- False
The output of the hashing algorithm is called the hash synonyms
- True
- False
MAX. NO OF ROWS PER PAGE?
- 127
- 136
- 100
- 38
What is the size of a data page?
- 5K to 10K
- 4K to 8K
- 4K to 10K
- 3K to 9K
What is the maximum number of tables that can be stored on a Partitioned Table Space?
- TWO
- ONE
- FIVE
- EIGHT
What is the maximum number of tables that can be joined?
- Twenty
- Eight
- Fifteen
- Six
Can I use DB2 Stored Procedures with Debug Tool?
- True
- False
When you COMMIT, is the cursor closed?
- True
- False
Is DECLARE CURSOR Executable?
- True
- False
Can you have more than one cursor open at any one time in a program?
- True
- False
What is the Physical Storage Length of TIMESTAMP DB2 data type?
- 10 Bytes
- 3 Bytes
- 8 Bytes
- 15 Bytes
What is the Physical Storage Length of DATE DB2 data type?
- 2 Bytes
- 4 Bytes
- 8 Bytes
- 6 Bytes
What's the output select to_Date('2009-may-25','yyyymmdd') from dual
- 20090525
- Error
- 2009-may-25
- may-25-2009