Database Design for Mere Mortals Ch. 11 Flashcards

1
Q

What is a business rule?

A

A statement that imposes some form of constraint on a specific aspect of the database, such as the elements within a field specification for a particular field or the characteristics of a given relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name two major types of business rules.

A

Database oriented and application oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Can you establish application-oriented business rules within the logical design of the database?

A

No, application-oriented business rules impose constraints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the two categories of database-oriented business rules?

A

Field specific and relationship specific

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a field-specific business rule?

A

One that imposes constraints on the elements of a field specification for a particular field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When is a business rule tested?

A

When you attempt to perform one of three actions:
— Inserting a record into the table or an entry into a field
— Deleting a record from the table or a value within a field
— Updating a field’s value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you document a business rule?

A

By filling out a Business Rule Specifications sheet for the rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

State two advantages a Business Rule Specifications sheet provides.

A

— Allows you to document every database-oriented business rule
— Allows you to document every application-oriented business rule
— Provides a standard method for recording all business rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the Action Taken section of a Business Rule Specifications sheet?

A

The area where you indicate the modifications you’ve made to the elements of a field specification or to a relationship diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of a validation table?

A

Stores data that you specifically use to implement data integrity by restricting the range of values that can be used for a field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the typical structure of a validation table?

A

Usually comprise two fields:
— The first acts as the primary key and is what you’ll use to help you enforce data integrity
— The second is simply a non-key field that stores a set of values required by some other field in the database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the association between a business rule and a validation table?

A

You can use a validation table to enforce a constraint that a business rule imposes on a given field’s range of values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why should you review all of your completed Business Rule Specifications sheets?

A

To ensure that you’ve properly established the rule it records and that you’ve clearly marked all the appropriate areas on the sheet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly