Filters
Question type

Study Flashcards

The BLOCK ACCESS command can be used to prevent other users from updating a specific table.​

A) True
B) False

Correct Answer

verifed

verified

Which keywords create a shared lock on a table to prevent another user from making changes to data in specified columns?​


A) ​SELECT...LOCK
B) ​SELECT...COMMIT
C) ​SELECT...FOR UPDATE
D) ​SELECT...FOR CHANGE

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

Commands used to modify data are known as DML commands.​

A) True
B) False

Correct Answer

verifed

verified

Contents of the PUBLISHER table​ Contents of the PUBLISHER table​    -If a column named SAL_PCT is to be defined to ensure a value of 100 is input if a NULL value is provided when a new row is inserted,which column definition should be used?​ A)  ​SAL_PCT NULL 100 DEFAULT. B)  ​SAL_PCT DEFAULT ON NULL 100. C)  ​SAL_PCT DEFAULT 100. D)  ​SAL_PCT ON NULL 100. -If a column named SAL_PCT is to be defined to ensure a value of 100 is input if a NULL value is provided when a new row is inserted,which column definition should be used?​


A) ​SAL_PCT NULL 100 DEFAULT.
B) ​SAL_PCT DEFAULT ON NULL 100.
C) ​SAL_PCT DEFAULT 100.
D) ​SAL_PCT ON NULL 100.

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

Commands used to modify data are called ____ commands.​


A) ​data control language (DCL)
B) ​data manipulation language (DML)
C) ​data modification language (DML)
D) ​data definition language (DDL)

E) All of the above
F) None of the above

Correct Answer

verifed

verified

Which of the following clauses of the UPDATE command is optional?​


A) ​UPDATE
B) ​SET
C) ​WHERE
D) ​none of the above

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

C

A(n)shared lock prevents other users from obtaining another shared lock on the same table._________________________​

A) True
B) False

Correct Answer

verifed

verified

The SET clause of the UPDATE command is used to identify the column(s)being updated.​

A) True
B) False

Correct Answer

verifed

verified

The ____________________ command is used to permanently update a table and allow other users to view the changed data.​

Correct Answer

verifed

verified

The SELECT ....____________________ command is used to create a shared lock on a table to prevent other users from making changes in the specified column.​

Correct Answer

verifed

verified

FOR UPDATE​

The effect of which of the following commands can never be reversed by the ROLLBACK command?​


A) ​CREATE TABLE
B) ​ALTER TABLE
C) ​COMMIT
D) ​all of the above

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

The SYSDATE keyword cannot be included in the INSERT command,only the UPDATE command.​

A) True
B) False

Correct Answer

verifed

verified

Contents of the PROMOTION table​ Contents of the PROMOTION table​    ​ -If a new row is added to the PROMOTION table,which of the following will make the change permanent?​ A)  ​COMMIT; B)  ​UPDATE; C)  ​ROLLBACK; D)  ​The change is permanent when the command is executed. ​ -If a new row is added to the PROMOTION table,which of the following will make the change permanent?​


A) ​COMMIT;
B) ​UPDATE;
C) ​ROLLBACK;
D) ​The change is permanent when the command is executed.

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

Data that is being added to a table is specified in the VALUES clause of the INSERT command._________________________

A) True
B) False

Correct Answer

verifed

verified

A shared lock is automatically obtained when the SELECT...FOR UPDATE command is executed.​

A) True
B) False

Correct Answer

verifed

verified

The INSERT command is used to modify existing data in a row.​

A) True
B) False

Correct Answer

verifed

verified

False

The SELECT...FOR UPDATE can be used to create a shared lock._________________________

A) True
B) False

Correct Answer

verifed

verified

If the ____ clause of the UPDATE command is omitted,then all the rows in the specified table will be changed.​


A) ​UPDATE
B) ​SET
C) ​WHERE
D) ​none of the above

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

An ON NULL clause may be used in conjunction with a column's DEFAULT option.​

A) True
B) False

Correct Answer

verifed

verified

If the WHERE clause is omitted from the DELETE command,then all columns from the database table will be dropped._________________________​

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 136

Related Exams

Show Answer