Which of the following statements about tablespaces is true?
A tablespace is the physical implementation of logical structure called a namespace.
A tablespace can hold the objects of only one schema.
A bigfile tablespace can have only one datafile.
The SYSAUX tablespace is an optional tablespace only created if you install certain database options.
Automatic segment space management on the tablespace causes which of the following table attributes in that tablespace to be ignored?
The whole storage clause
NEXT and PCTINCREASE
BUFFERPOOL and FREEPOOL
PCTFREE and PCTUSED
Which objects share the same namespace and therefore cannot have the same name?
Tables and indexes
Tables and procedures
Tables and constraints
Tables and triggers
Which is not a type of segment that is stored in a tablespace?
Undo
Redo
Permanent
Temporary
With which parameters do you specify unlimited datafile growth?
MAXSIZE UNLIMITED
UNLIMITED GROWTH
MAXEXTENTS UNLIMITED
Datafile size cannot change.
Which of the following is not a character datatype that can be used in a table column definition?
char
varchar
nvarchar2
string
With which numeric datatype can you represent infinity?
double
float
binary_float
Infinity cannot be represented in the database.
A table name can never include the special meta-character dollar sign ($).
True
False
Only if the table name is enclosed in double quotes
Only if the table name is enclosed in single quotes
Which of the following column specifications results in a column that will store time values down to the microsecond decimals of precision?
timestamp(3)
time(3)
datetime(3)
date(3)
Which type of index can specify as a unique index?
Bitmap
Heap organized
Btree
XOR
Which operation can you not do to a table that is created with the following SQL statement?
CREATE TABLE properties ("Location" NUMBER primary key ,value NUMBER(15) ,lot varchar2(12) ,constraint positive_value check (value > 0) );
Rename the primary key to properties.
Insert a null into the value column.
Add a column named owner.
Rename the index supporting primary key to properties.
None of the above.
Which of the statements is true regarding the table created with the following SQL statement?
CREATE TABLE autos (vin VARCHAR2(64) primary key ,style VARCHAR2(15) default 'TUDOR' ,year char(4) ,make varchar2(12) ,model varchar2(30) );
MAKE is a reserved word; the CREATE TABLE will fail.
The column style will always have a value.
There is no index on this table.
The column style can have a NULL value.
Which constraint-checking model is the default?
Initially immediate and deferrable
Initially immediate and not deferrable
Initially deferred and not immediately
Initially deferrable and not immediate
Which statement on views is true?
A view can only be on one base table, although that base table can be joined to itself.
A view cannot be created with the same name and columns as the base table.
Inserts into a view are not allowed.
Privileges on a view can be different from those on the base table.
What can tablespaces be used for?
To organize tables and indexes into manageable groupings
To make sure that data stored in the tablespace does not change
To move data from one database to another
All of the above
Which allocation unit is the smallest?
Datafile
Extent
Data block
Segment
Which is a valid tablespace extent management specification?
Automatic
Local
Manual
Temporary
Which of the following is not a valid Oracle10g datatype?
timestamp with local timezone
binary
blob
urowid
How do you specify that a temporary table will be emptied at the end of a user's session?
Create the temporary table with the ON COMMIT PRESERVE ROWS option.
Create the temporary table with the ON DISCONNECT PRESERVE ROWS option.
Create the temporary table with the ON DISCONNECT PURGE ROWS option.
Create the temporary table with the ON COMMIT DELETE ROWS option.
How can you change the comment assigned to the columns in a table?
Use the ALTER TABLE MODIFY COLUMN statement.
Use the COMMENT ON TABLE statement.
Use the RENAME statement.
Use the COMMENT ON COLUMN statement.