logo

CuriousTab

CuriousTab

Discussion


Home Database Database Redesign Comments

  • Question
  • To drop a column that is used as a foreign key, first:


  • Options
  • A. drop the primary key.
  • B. drop the table containing the foreign key..
  • C. drop the foreign key constraint.
  • D. All of the above must be done.

  • Correct Answer
  • drop the foreign key constraint. 


  • Database Redesign problems


    Search Results


    • 1. Which SQL-92 standard SQL command can be used to change a table name?

    • Options
    • A. RENAME TABLE
    • B. CHANGE TABLE
    • C. ALTER TABLE
    • D. None of the above is correct.
    • Discuss
    • 2. The EXISTS keyword will be true if:

    • Options
    • A. any row in the subquery meets the condition only.
    • B. all rows in the subquery fail the condition only.
    • C. both of these two conditions are met.
    • D. neither of these two conditions is met.
    • Discuss
    • 3. The data model that is produced from reverse engineering is:

    • Options
    • A. a conceptual model.
    • B. an internal model.
    • C. a logical model.
    • D. None of the above is correct.
    • Discuss
    • 4. A tool that can help designers understand the dependencies of database structures is a:

    • Options
    • A. dependency graph.
    • B. data model.
    • C. graphical display.
    • D. None of the above is correct.
    • Discuss
    • 5. Which of the following SQL statements are helpful in database redesign?

    • Options
    • A. Correlated subqueries only
    • B. EXISTS/NOT EXISTS expressions only
    • C. Both of the above are helpful
    • D. None of the above are helpful.
    • Discuss
    • 6. Before any changes to database structure are attempted one should first:

    • Options
    • A. clearly understand the current structure and contents of the database only.
    • B. test any changes on a test database only.
    • C. create a complete backup of the operational database only.
    • D. All of the above should be done.
    • Discuss
    • 7. How many copies of the database schema are typically used in the redesign process?

    • Options
    • A. One
    • B. Two
    • C. Three
    • D. Four
    • Discuss
    • 8. Changing cardinalities in a database is:

    • Options
    • A. a common database design task.
    • B. a rare database design task, but does occur.
    • C. a database design task that never occurs.
    • D. is impossible to do, so a new database must be constructed and the data moved into it.
    • Discuss
    • 9. Which is not true of a correlated subquery?

    • Options
    • A. EXISTS/NOT EXISTS is a form of a correlated subquery.
    • B. The processing of the SELECT statements is nested.
    • C. They can be used to verify functional dependencies.
    • D. They are very similar to a regular subquery.
    • Discuss
    • 10. The process of reading a database schema and producing a data model from that schema is known as:

    • Options
    • A. data modeling.
    • B. database design.
    • C. reverse engineering.
    • D. None of the above is correct.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment