100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Database Lab_Ch4_Quiz Questions with Solutions 2024 $15.49   Add to cart

Exam (elaborations)

Database Lab_Ch4_Quiz Questions with Solutions 2024

 2 views  0 purchase
  • Course
  • GFACT
  • Institution
  • GFACT

Database Lab_Ch4_Quiz

Preview 2 out of 5  pages

  • November 3, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • GFACT
  • GFACT
avatar-seller
julianah420
Database Lab_Ch4_Quiz

Which of the following keywords must have been included during the creation of a
FOREIGN KEY constraint to allow a row from the parent table to be deleted, even if it is
referenced by a row in the child table - answer ON DELETE CASCADE

Which of the following is a valid statement? - answer “Constraints are rules used to
enforce business rules,
practices, and policies."
Constraints prevent errors by not allowing data to be added to tables
if the data violates specific rules.
Constraints ensure the accuracy and integrity of data.
all of the above

Which of the following are used to enforce business rules? - answer constraints

Which of the following statements about a PRIMARY KEY is incorrect? - answer Each
data value must be unique. XX

In a ""one-to-many"" relationship, which constraint is usually
added to the ""many"" table? - answer FOREIGN KEY

The UNIQUE constraint differs from the PRIMARY KEY constraint
in what way? - answer The UNIQUE constraint allows NULL values.

How can constraints be added to a table? - answer as part of the ALTER TABLE
command XX

Which of the following statements about creating constraints
is incorrect? - answer

Which of the following is the standard abbreviation for the
constraint FOREIGN KEY - answer XX

Which of the following is the standard abbreviation for the constraint NOT NULL? –
answer nn

Which of the following is not a constraint type in Oracle 12c ? - answer REFERENCE

When a constraint is created at the ____ level with the CREATE TABLE command,
the constraint definition is simply included as part of the column definition. -
answerTABLE XX

, The NOT NULL constraint can only be created at the ____ level - answerCOLUMN

If a constraint applies to more than one column, the constraint must be created at the
____ level - answerTABLE

Which of the following statements about creating constraints is incorrect? -
answerWhen you create constraints at the column level, the constraint being created
applies to the column specified XX

If the ____ keyword is included when a constraint is created, a constraint name must be
provided by the user - answerconstraint

Constraints are always enforced at the ____ level. - answerTABLE XX

When a constraint is created at the table level, the constraint definition is provided ____
the column definition list - answerAFTER

Only one ____ constraint can exist for each table. - answerPRIMARY

A PRIMARY KEY constraint can be added to an existing table by using the ____ clause
of the ALTER TABLE command. - answerMODIFY XX

A PRIMARY KEY that consists of more than one column is called a(n) ____ key. -
answerCOMPOSITE

Which view will display the names of all the constraints that you own? -
answerUSER_CONSTRAINTS

What is the syntax for the default constraint name provided by the Oracle 12c server? -
answerSYS_Cn

Which keywords identify a column that, if it contains a value, it must match data
contained in another table - answerFOREIGN KEY

Which of the following types of constraints is used to enforce referential integrity? -
answerFOREIGN KEY

When used with a FOREIGN KEY, the keyword REFERENCES refers to what? -
answerreference integrity

Which of the following statements about the FOREIGN KEY constraint is incorrect? -
answerThe constraint can reference any column in another table, even a column that
has not been designated as the primary key for the referenced table

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller julianah420. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $15.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82871 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$15.49
  • (0)
  Add to cart