Deck 9: Constraints, indexes, and Other Specialized Objects

ملء الشاشة (f)
exit full mode
سؤال
You cannot change the state of a NOT NULL constraint.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The NOT NULL constraint must always be defined out of line.
سؤال
Integrity constraints are always enforced,no matter what application or tool is used to modify a table's data.
سؤال
You should use the NOT NULL constraint for columns holding essential information.
سؤال
A UNIQUE constraint is often used in place of a PRIMARY KEY.
سؤال
When you join tables together,you are nearly always using a column or set of columns in one table that corresponds to a column,or set of columns in another table.
سؤال
Frequently,NOT NULL and CHECK constraints are not named.
سؤال
Columns with null values are ignored by the UNIQUE constraint.
سؤال
Application constraints cannot be fine-tuned for each application.
سؤال
Modifications to the database are affected by application constraints.
سؤال
A table can have more than one UNIQUE constraint.
سؤال
The column or columns of a PRIMARY KEY may contain null values.
سؤال
A FOREIGN KEY constraint that is defined out of line is not allowed to have a name.
سؤال
The PRIMARY KEY constraint is not important for the integrity of the table.
سؤال
Although CHECK constraints can check multiple conditions,it is usually better to use multiple CHECK constraints instead of one complicated constraint.
سؤال
A table can have multiple PRIMARY KEY constraints.
سؤال
Triggers are at the database level and provide more flexibility in designing complex constraints than integrity constraints,while keeping the constraint within the database.
سؤال
Constraints are enabled by default when you create them.
سؤال
Naming constraints is mandatory.
سؤال
Most tables have a primary key to comply with the standards of normalization of tables.
سؤال
CHECK constraints cannot contain queries or any references to other tables.
سؤال
A(n)____ constraint appears immediately next to the column to which it applies.

A) single column
B) multiple column
C) inline
D) out of line
سؤال
By default,the initial value of a sequence when it is first created is 0.
سؤال
The ____ constraint is similar to the PRIMARY KEY constraint because both enforce unique values;the difference is that it allows null values in the column or columns that are named in the constraint.

A) CHECK
B) FOREIGN KEY
C) UNIQUE
D) NOT NULL
سؤال
You can use ALTER INDEX to change the column order of an existing index.
سؤال
An index does not store an entry for a row when all the indexed columns are null except if the index is a bitmap index.
سؤال
A ____ is a program that runs when a certain event occurs.

A) stored procedure
B) constraint
C) trigger
D) PL / SQL
سؤال
It is possible to create an index owned by one user on a table owned by another user,provided that the creating user has either the CREATE ANY INDEX privilege or the INDEX privilege on the target table,or the user has been granted specific privileges for creating an index on that table.
سؤال
A bitmap index stores ROWID values and key values.
سؤال
A(n)____ constraint appears after the full list of columns in the CREATE TABLE command and is usually used to define constraints to multiple columns.

A) single column
B) multiple column
C) inline
D) out of line
سؤال
The ____ constraint enforces a predefined list of values for a column.

A) CHECK
B) FOREIGN KEY
C) UNIQUE
D) NOT NULL
سؤال
____ checking performs faster than other methods of constraint enforcement,because the optimizer has been programmed to handle them efficiently.

A) Trigger
B) Integrity constraint
C) Application constraint
D) Index
سؤال
____ integrity is the integrity,or soundness of data,maintained between two values,which reference each other.

A) Constraint
B) Spatial
C) Normalization
D) Referential
سؤال
You can use expressions in function-based indexes.
سؤال
A bitmap index can be a UNIQUE index.
سؤال
Placing the ____ constraint on a column indicates that all rows in the table must contain a value in the column.

A) CHECK
B) FOREIGN KEY
C) UNIQUE
D) NOT NULL
سؤال
The syntax for adding a CHECK constraint with CREATE TABLE and ALTER TABLE is quite different.
سؤال
A(n)____ integrity constraint is the column or set of columns that define a unique identifying value for every row in the table.

A) primary key
B) foreign key
C) unique
D) not null
سؤال
Oracle 10g supports ____ types of integrity constraints.

A) three
B) four
C) five
D) six
سؤال
An index does not have its own storage specification,so it has to be in the same tablespace as the associated table.
سؤال
When viewing constraints from ALL_CONSTRAINTS,foreign key constraints are indicated with the letter ____.

A) F
B) G
C) K
D) R
سؤال
To add a ____ constraint successfully,all rows in the table must contain values for the column.

A) UNIQUE
B) CHECK
C) NOT NULL
D) NULL
سؤال
The ____ command provides a way to change a named constraint or all constraints to a deferred state during your session.

A) DEFERRED
B) DEFER
C) SET DEFER
D) SET CONSTRAINT
سؤال
The ____ data dictionary view contains the definition of a constraint.

A) ALL_CONS_DEF
B) ALL_DEF_CONS
C) ALL_CONSTRAINTS
D) ALL_CONS_COLUMNS
سؤال
The ____ data dictionary view lists the columns associated with each constraint.

A) ALL_CONSTRAINTS
B) ALL_CONS_COLUMNS
C) ALL_COLUMNS
D) ALL_CONS_COLS
سؤال
When viewing constraints from ALL_CONSTRAINTS,NOT NULL constraints are listed as ____ constraints,and have system-assigned names.

A) referential
B) CHECK
C) UNIQUE
D) special
سؤال
There are only ____ constraint-related data dictionary views.

A) two
B) three
C) four
D) five
سؤال
A constraint ____ is the attribute that tells Oracle 10g how to use the constraint when data is added to the table.

A) attribute
B) state
C) value
D) restriction
سؤال
____ is a pseudocolumn that represents the current date and time.

A) DATE
B) TODAY
C) CURRENT
D) SYSDATE
سؤال
The ON DELETE ____ setting tells Oracle 10g that when a parent row is deleted,all the related child rows are also deleted.

A) DEFER
B) CASCADE
C) SET NULL
D) UPDATE
سؤال
Any constraint other than ____ can be dropped using the ALTER TABLE DROP CONSTRAINT command.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
سؤال
ON DELETE ____ instructs Oracle 10g to set the value of the foreign key column in the related child rows to null instead of deleting the rows.

A) DEFER
B) CASCADE
C) SET NULL
D) UPDATE
سؤال
The UNIQUE key constraint and the ____ constraint are very similar.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
سؤال
The ____ constraint helps validate the value within a column or a set of columns within one row.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
سؤال
If you omit the ____ parameter,you cannot delete a row from the parent table,if it has related children in other tables.

A) ON DELETE
B) CASCADE
C) DEFER
D) SET NULL
سؤال
You can use the ____ constraint to compare one column against another column.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
سؤال
It is advisable to specifically name at least all PRIMARY KEY and ____ constraints.

A) FOREIGN KEY
B) CHECK
C) NOT NULL
D) UNIQUE KEY
سؤال
CHECK constraints cannot use pseudocolumns,such as ____ and USER.

A) TODAY
B) TIME
C) DATE
D) SYSDATE
سؤال
PRIMARY KEY column(s)is / are usually placed ____ the table.

A) at the beginning of
B) at the end of
C) anywhere in
D) randomly in
سؤال
When you drop a ____ constraint,the associated index is also dropped.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
سؤال
A(n)____ index is an index that is partitioned when either the table is not partitioned or the table is partitioned in a different way than the index.

A) logical partitioned
B) special partitioned
C) global partitioned
D) local partitioned
سؤال
The ____ index is used for application- or cartridge-specific indexes.

A) domain
B) cluster
C) local partitioned
D) global partitioned
سؤال
If successful,the ALTER INDEX ...REBUILD command automatically corrects an index that has been marked ____ because a change was made to the structure of the underlying table or partition.

A) "DAMAGED"
B) "UNUSABLE"
C) "DIRTY"
D) "ALTERED"
سؤال
The reverse key index is a type of ____ index used to improve efficiency of Oracle Real Application Clusters.

A) cluster
B) global partitioned
C) BTree
D) bitmap
سؤال
____________________ constraints enforce only those changes that are made within the application.
سؤال
An index created to support a ____ constraint does not allow any null values in any of the indexed columns,because there is an automatic NOT NULL constraint added to a primary key column.

A) PRIMARY KEY
B) FOREIGN KEY
C) UNIQUE
D) CHECK
سؤال
The ____ index is used on partitioned tables where the index is created on all partitions for the entire table,as a single index.

A) domain
B) cluster
C) local partitioned
D) global partitioned
سؤال
A ____ view is a view that can be used to insert a new row into the underlying table,as long as the row would be returned by a query,or the row exists for the view.

A) simple
B) constraint
C) materialized
D) query
سؤال
An index can have from one to ____ columns (only 30 columns if it is a bitmap index).

A) 32
B) 35
C) 40
D) 60
سؤال
When executing a package or a procedure,you must either wrap the command in a PL / SQL block by using the BEGIN and END;clauses on either side of the command,or type ____ and the command all on a single line.

A) INIT
B) COMMAND
C) RUN
D) EXECUTE
سؤال
Sequence values can be accessed using the ____ and NEXTVAL pseudocolumns.

A) PREVVAL
B) FIRSTVAL
C) CURRVAL
D) UPVAL
سؤال
A data dictionary view named ____ lists indexed column names and statistics either owned by the user or accessible to the user.

A) ALL_IND_COLUMNS
B) DBA_IND_COLUMNS
C) USER_IND_COLUMNS
D) ALL_INDEXES
سؤال
The ____ index is used to store pre-computed expression values based on table columns.

A) domain
B) function-based
C) BTree
D) reverse key
سؤال
You can create a ____ index on a nonpartitioned table.

A) logical partitioned
B) special partitioned
C) global partitioned
D) local partitioned
سؤال
The ____ index is by default a BTree but can also be a hash-clustered index.

A) domain
B) cluster
C) local partitioned
D) global partitioned
سؤال
The indexed columns in a ____ index should have low cardinality.

A) cluster
B) BTree
C) domain
D) bitmap
سؤال
A ____ index cannot contain any DESC columns.

A) cluster
B) bitmap
C) BTree
D) domain
سؤال
____________________ constraints are constraints defined at the database level on either a column or a table.
سؤال
In addition to providing faster access to data,certain indexes also have a second purpose: enforcing a PRIMARY KEY constraint or ____ constraint.

A) FOREIGN KEY
B) CHECK
C) NOT NULL
D) UNIQUE
سؤال
Unless you specifically instruct Oracle 10g to create a bitmap index,it always creates a ____ index.

A) domain
B) BTree
C) cluster
D) local partitioned
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/108
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 9: Constraints, indexes, and Other Specialized Objects
1
You cannot change the state of a NOT NULL constraint.
True
2
The NOT NULL constraint must always be defined out of line.
False
3
Integrity constraints are always enforced,no matter what application or tool is used to modify a table's data.
True
4
You should use the NOT NULL constraint for columns holding essential information.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
5
A UNIQUE constraint is often used in place of a PRIMARY KEY.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
6
When you join tables together,you are nearly always using a column or set of columns in one table that corresponds to a column,or set of columns in another table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
7
Frequently,NOT NULL and CHECK constraints are not named.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
8
Columns with null values are ignored by the UNIQUE constraint.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
9
Application constraints cannot be fine-tuned for each application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
10
Modifications to the database are affected by application constraints.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
11
A table can have more than one UNIQUE constraint.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
12
The column or columns of a PRIMARY KEY may contain null values.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
13
A FOREIGN KEY constraint that is defined out of line is not allowed to have a name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
14
The PRIMARY KEY constraint is not important for the integrity of the table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
15
Although CHECK constraints can check multiple conditions,it is usually better to use multiple CHECK constraints instead of one complicated constraint.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
16
A table can have multiple PRIMARY KEY constraints.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
17
Triggers are at the database level and provide more flexibility in designing complex constraints than integrity constraints,while keeping the constraint within the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
18
Constraints are enabled by default when you create them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
19
Naming constraints is mandatory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
20
Most tables have a primary key to comply with the standards of normalization of tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
21
CHECK constraints cannot contain queries or any references to other tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
22
A(n)____ constraint appears immediately next to the column to which it applies.

A) single column
B) multiple column
C) inline
D) out of line
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
23
By default,the initial value of a sequence when it is first created is 0.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
24
The ____ constraint is similar to the PRIMARY KEY constraint because both enforce unique values;the difference is that it allows null values in the column or columns that are named in the constraint.

A) CHECK
B) FOREIGN KEY
C) UNIQUE
D) NOT NULL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
25
You can use ALTER INDEX to change the column order of an existing index.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
26
An index does not store an entry for a row when all the indexed columns are null except if the index is a bitmap index.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
27
A ____ is a program that runs when a certain event occurs.

A) stored procedure
B) constraint
C) trigger
D) PL / SQL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
28
It is possible to create an index owned by one user on a table owned by another user,provided that the creating user has either the CREATE ANY INDEX privilege or the INDEX privilege on the target table,or the user has been granted specific privileges for creating an index on that table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
29
A bitmap index stores ROWID values and key values.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n)____ constraint appears after the full list of columns in the CREATE TABLE command and is usually used to define constraints to multiple columns.

A) single column
B) multiple column
C) inline
D) out of line
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
31
The ____ constraint enforces a predefined list of values for a column.

A) CHECK
B) FOREIGN KEY
C) UNIQUE
D) NOT NULL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
32
____ checking performs faster than other methods of constraint enforcement,because the optimizer has been programmed to handle them efficiently.

A) Trigger
B) Integrity constraint
C) Application constraint
D) Index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
33
____ integrity is the integrity,or soundness of data,maintained between two values,which reference each other.

A) Constraint
B) Spatial
C) Normalization
D) Referential
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
34
You can use expressions in function-based indexes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
35
A bitmap index can be a UNIQUE index.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
36
Placing the ____ constraint on a column indicates that all rows in the table must contain a value in the column.

A) CHECK
B) FOREIGN KEY
C) UNIQUE
D) NOT NULL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
37
The syntax for adding a CHECK constraint with CREATE TABLE and ALTER TABLE is quite different.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
38
A(n)____ integrity constraint is the column or set of columns that define a unique identifying value for every row in the table.

A) primary key
B) foreign key
C) unique
D) not null
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
39
Oracle 10g supports ____ types of integrity constraints.

A) three
B) four
C) five
D) six
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
40
An index does not have its own storage specification,so it has to be in the same tablespace as the associated table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
41
When viewing constraints from ALL_CONSTRAINTS,foreign key constraints are indicated with the letter ____.

A) F
B) G
C) K
D) R
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
42
To add a ____ constraint successfully,all rows in the table must contain values for the column.

A) UNIQUE
B) CHECK
C) NOT NULL
D) NULL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
43
The ____ command provides a way to change a named constraint or all constraints to a deferred state during your session.

A) DEFERRED
B) DEFER
C) SET DEFER
D) SET CONSTRAINT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
44
The ____ data dictionary view contains the definition of a constraint.

A) ALL_CONS_DEF
B) ALL_DEF_CONS
C) ALL_CONSTRAINTS
D) ALL_CONS_COLUMNS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
45
The ____ data dictionary view lists the columns associated with each constraint.

A) ALL_CONSTRAINTS
B) ALL_CONS_COLUMNS
C) ALL_COLUMNS
D) ALL_CONS_COLS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
46
When viewing constraints from ALL_CONSTRAINTS,NOT NULL constraints are listed as ____ constraints,and have system-assigned names.

A) referential
B) CHECK
C) UNIQUE
D) special
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
47
There are only ____ constraint-related data dictionary views.

A) two
B) three
C) four
D) five
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
48
A constraint ____ is the attribute that tells Oracle 10g how to use the constraint when data is added to the table.

A) attribute
B) state
C) value
D) restriction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
49
____ is a pseudocolumn that represents the current date and time.

A) DATE
B) TODAY
C) CURRENT
D) SYSDATE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
50
The ON DELETE ____ setting tells Oracle 10g that when a parent row is deleted,all the related child rows are also deleted.

A) DEFER
B) CASCADE
C) SET NULL
D) UPDATE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
51
Any constraint other than ____ can be dropped using the ALTER TABLE DROP CONSTRAINT command.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
52
ON DELETE ____ instructs Oracle 10g to set the value of the foreign key column in the related child rows to null instead of deleting the rows.

A) DEFER
B) CASCADE
C) SET NULL
D) UPDATE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
53
The UNIQUE key constraint and the ____ constraint are very similar.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
54
The ____ constraint helps validate the value within a column or a set of columns within one row.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
55
If you omit the ____ parameter,you cannot delete a row from the parent table,if it has related children in other tables.

A) ON DELETE
B) CASCADE
C) DEFER
D) SET NULL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
56
You can use the ____ constraint to compare one column against another column.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
57
It is advisable to specifically name at least all PRIMARY KEY and ____ constraints.

A) FOREIGN KEY
B) CHECK
C) NOT NULL
D) UNIQUE KEY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
58
CHECK constraints cannot use pseudocolumns,such as ____ and USER.

A) TODAY
B) TIME
C) DATE
D) SYSDATE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
59
PRIMARY KEY column(s)is / are usually placed ____ the table.

A) at the beginning of
B) at the end of
C) anywhere in
D) randomly in
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
60
When you drop a ____ constraint,the associated index is also dropped.

A) NOT NULL
B) CHECK
C) PRIMARY KEY
D) FOREIGN KEY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
61
A(n)____ index is an index that is partitioned when either the table is not partitioned or the table is partitioned in a different way than the index.

A) logical partitioned
B) special partitioned
C) global partitioned
D) local partitioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
62
The ____ index is used for application- or cartridge-specific indexes.

A) domain
B) cluster
C) local partitioned
D) global partitioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
63
If successful,the ALTER INDEX ...REBUILD command automatically corrects an index that has been marked ____ because a change was made to the structure of the underlying table or partition.

A) "DAMAGED"
B) "UNUSABLE"
C) "DIRTY"
D) "ALTERED"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
64
The reverse key index is a type of ____ index used to improve efficiency of Oracle Real Application Clusters.

A) cluster
B) global partitioned
C) BTree
D) bitmap
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
65
____________________ constraints enforce only those changes that are made within the application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
66
An index created to support a ____ constraint does not allow any null values in any of the indexed columns,because there is an automatic NOT NULL constraint added to a primary key column.

A) PRIMARY KEY
B) FOREIGN KEY
C) UNIQUE
D) CHECK
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
67
The ____ index is used on partitioned tables where the index is created on all partitions for the entire table,as a single index.

A) domain
B) cluster
C) local partitioned
D) global partitioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
68
A ____ view is a view that can be used to insert a new row into the underlying table,as long as the row would be returned by a query,or the row exists for the view.

A) simple
B) constraint
C) materialized
D) query
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
69
An index can have from one to ____ columns (only 30 columns if it is a bitmap index).

A) 32
B) 35
C) 40
D) 60
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
70
When executing a package or a procedure,you must either wrap the command in a PL / SQL block by using the BEGIN and END;clauses on either side of the command,or type ____ and the command all on a single line.

A) INIT
B) COMMAND
C) RUN
D) EXECUTE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
71
Sequence values can be accessed using the ____ and NEXTVAL pseudocolumns.

A) PREVVAL
B) FIRSTVAL
C) CURRVAL
D) UPVAL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
72
A data dictionary view named ____ lists indexed column names and statistics either owned by the user or accessible to the user.

A) ALL_IND_COLUMNS
B) DBA_IND_COLUMNS
C) USER_IND_COLUMNS
D) ALL_INDEXES
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
73
The ____ index is used to store pre-computed expression values based on table columns.

A) domain
B) function-based
C) BTree
D) reverse key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
74
You can create a ____ index on a nonpartitioned table.

A) logical partitioned
B) special partitioned
C) global partitioned
D) local partitioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
75
The ____ index is by default a BTree but can also be a hash-clustered index.

A) domain
B) cluster
C) local partitioned
D) global partitioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
76
The indexed columns in a ____ index should have low cardinality.

A) cluster
B) BTree
C) domain
D) bitmap
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
77
A ____ index cannot contain any DESC columns.

A) cluster
B) bitmap
C) BTree
D) domain
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
78
____________________ constraints are constraints defined at the database level on either a column or a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
79
In addition to providing faster access to data,certain indexes also have a second purpose: enforcing a PRIMARY KEY constraint or ____ constraint.

A) FOREIGN KEY
B) CHECK
C) NOT NULL
D) UNIQUE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
80
Unless you specifically instruct Oracle 10g to create a bitmap index,it always creates a ____ index.

A) domain
B) BTree
C) cluster
D) local partitioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 108 في هذه المجموعة.