Team Fly 

Page 18

Progress Check Image

1. Oracle Database 10g is referred to as a relational database. Why is the word relational used?

2. What is the maximum length of a varchar2 data type that can be stored in the Oracle Database 10g?

3. What is data consistency when referred to as a feature of the Oracle Database 10g? Give an example.

4. What types of stored objects can be encapsulated into an Oracle Database 10g package?

5. What is the fundamental difference between a procedure and a function in the Oracle Database 10g?

6. Data in the system tablespace is often referred to as metadata—data about data. Name at least two types of metadata in the system tablespace.

7. What is the difference between the timestamp and date data types?

8. What type of information and data ends up being stored in the SYSAUX tablespace?

Progress Check Answers

1. The word relational is used since Oracle Database 10g defines the relationships between tables. It is these relationships that allow applications to navigate an assortment of tables and assemble results from more than one table.

2. The varchar2 data type can accommodate up to 4000 characters.

3. Data consistency refers to the ability to ensure that related items of information are manipulated in a similar fashion. Suppose an application assigns a department to a new employee as a two-digit number field. Sometime down the road, due to company growth, the department identifier is changed to three digits. All the data where this used-to-be two-character identifier is stored must be changed to reflect the expansion of the department codes.

4. Packages can contain a mixture of one or more functions and procedures.

5. A procedure receives from zero to many parameters as it is invoked, and goes about its business until the end of its code segment. A function, on the other hand, accepts one or more parameters as it is called and returns a value to the code from where it was invoked. The procedure passes nothing back to its caller.

6. Metadata defines items such as the names of tables in the database, who owns the tables, the data types of the columns in each table, and who is allowed to look at what data.

7. When columns are displayed, they use the date data type, containing a day/month/year component, whereas, by default, the timestamp data type columns contain a time-of-day component as well.

8. The SYSAUX tablespace contains tables required to manage the Oracle Database 10g, such as the items required to support OEM Grid Control.

Team Fly 
0037