Question: Consider Figure 8.20. a. Write a domain integrity rule for Balance. b. Write a triggering operation for the Balance attribute for the event of inserting

Consider Figure 8.20.

a. Write a domain integrity rule for Balance.

b. Write a triggering operation for the Balance attribute for the event of inserting a new.


Figure 8.20ACCOUNT Account Number Balance (al (bl (c) HH Is_for Uniqueness: Must be unique Null support: Non-null

ACCOUNT Account Number Balance (al (bl (c) HH Is_for Uniqueness: Must be unique Null support: Non-null WITHDRAWAL Date Time Amount Name: Account Number Name: Amount Meaning: Customer account number in bank Meaning: Dollar amount of transaction Data type: Character Format: nnn-nnnn Data type: Numeric Format: 2 decimal places Range: 0-10,000 Uniqueness: Nonunique Null support: Non-null User rule: WITHDRAWAL Amount may not exceed ACCOUNT Balance Event: Insert Entity Name: WITHDRAWAL Condition: WITHDRAWAL Amount > ACCOUNT Balance Action: Reject the insert transaction

Step by Step Solution

3.40 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Write a domain integrity rule for Balance The domain integrity rule for the Balance attribute in F... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Modern Systems Analysis And Design Questions!