Which type of constraint can be used to ensure that an INTEGER column in a table will never be assigned more than one record that contains a NULL value、
A.Unique constraint
B.Primary key constraint
C.Informational constraint
D.Column default constraint
试卷相关题目
- 1Which is NOT a valid reason for creating an index、
A.To allow queries to run more efficiently.
B.To enforce constraints such as uniqueness on index keys.
C.To order the columns of a table in ascending or descending sequence according to values in a row.
D.To order the rows of a table in ascending or descending sequence according to the values in a column.
开始考试点击查看答案 - 2By default, a column defined as a TIMESTAMP includes which attributes、
A.No fractional digits or time zone.
B.6 fractional digits and no time zone.
C.12 fractional digits plus a time zone.
D.12 fractional digits and no time zon
开始考试点击查看答案 - 3What is the primary purpose of a view、
A.To enable uniqueness.
B.To ensure data clustering.
C.To combine data from multiple tables.
D.To optimize queries ran against multiple tables.
开始考试点击查看答案 - 4Which two statements are true about foreign key constraints、 (Choose two.)
A.The foreign key constraint columns must be supported by an index.
B.The foreign key constraint columns must be defined as NOT NULL.
C.The number and data types of foreign key constraint columns must match the parent key.
D.The columns of one foreign key constraint cannot be used in another foreign key constraint.
E.To define a foreign key constraint there must be an associated primary key or unique key in the same or different table.
开始考试点击查看答案 - 5Which statement about triggers is true、
A.A trigger is designed to return specific types of values and contains executable code.
B.A trigger is designed to return specific types of values but contains no executable code.
C.A trigger performs actions to capture details about an activity like a join operation against multiple tables.
D.A trigger performs actions in response to an event like an INSERT, UPDATE or DELETE operation on a tabl
开始考试点击查看答案 - 6Which statement is true regarding constraints、
A.A table can only have one unique key constraint.
B.A table can have multiple primary key constraints.
C.Informational constraints tell DB2 what rules the data conforms to, but the rules are not enforce
D.D. Foreign key constraints are enforced on the values within the rows of a table, or between the rows of two tables, by a unique index on a foreignkey.
开始考试点击查看答案 - 7By default, where is the data stored for a column defined with an XML data type、
A.In an XML index.
B.In line with the rest of the data for the table.
C.In an XML storage object that is separate from the table.
D.In line with the rest of the data for the table, for XML columns less than 32KB.
开始考试点击查看答案 - 8Which statement about BEFORE triggers is FALSE、
A.A BEFORE trigger can be used to perform validation of input data.
B.A BEFORE trigger can be used to automatically generate values for newly inserted rows.
C.A BEFORE trigger is fired for each row in the set of affected rows before the trigger event executes.
D.A BEFORE trigger is fired for each row in the set of affected rows instead of executing the trigger event.
开始考试点击查看答案 - 9What is used in conjunction with a foreign key to define a relationship between two tables、
A.Primary key
B.Partitioning key
C.Check constraint
D.Unique constraint
开始考试点击查看答案 - 10Which case will require a sequence to be dropped and recreated instead of being modified by the ALTER SEQUENCE statement、
A.Change the data type of the sequence.
B.Reset the sequence to its starting value.
C.Establish new minimum or maximum values.
D.Change the increment between future values.
开始考试点击查看答案
最新试卷
注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它注册安全工程师注册安全工程师安全生产法及相关法律知识安全
类别:建筑类其它