Solved

70-100 Exam

Posted on 2000-03-09
5
218 Views
Last Modified: 2010-05-02
I recently failed the 70-100 exam and I am giving it another try today. I'm aware that calculated fields should not be included as a field but how about the # of something. On the test there was a scenario on an insurance company. The premium is calculated on many fields including the # of Violations. This was listed as one of the fields to choose from. The #of Violations can be derived by doing a count on the driver violations table. Should it be included in the drivers table or would this be considered a calculated field? Also there is a driverflag field that could be used based on the #of Violations for a driver. Should this be added since it is must be derived from the #ofViolations? Help!AnyOne?????
0
Comment
Question by:bufordk
  • 4
5 Comments
 
LVL 14

Accepted Solution

by:
wsh2 earned 200 total points
ID: 2601622
To make # of Violations a field.. then you must find a way to maintain integrity between the Driver and Violation tables.

ie.. Whenever/whereever a user Adds/Deletes a Violation Record, code must be executed to increment/decrement the Driver.#OfViolations field to reflect the proper count. If an  Add/Delete occurs and the posting is somehow omitted, then the Driver.#OfViolation field count becomes corrupted.. and the error is carried ad infinitum within the Driver record.. in effect referential integrity is lost.. and could only be recovered by a user written synchronization process.

In the question you pose, because of all the additional overhead needed to keep the #OfViolations field / Violations Table synchronized, you arte much better off leaving referential integrity to the guiles of the System. One would be best served by making #OfViolations a calculated variable.. primed with a SELECT COUNT SQL statement.. 'cause then.. what you see.. is what you get.. <smile>.





0
 
LVL 14

Expert Comment

by:wsh2
ID: 2601724
Now.. Lets talk the real world.. <wink>.

Depending on how VOLATILE your Violation data is and how precisely you have to know the number of violations (ie.. timing and quantity), summarizing referential information can improve application performance dramatically and greatly simplify data retrieval programming. Yes, referential errors may occur (and hence incorrect output), but one has to balance the risk of this with the value of data accuracy. When working with limited resources, there is some wisdom to the old saying.. "Close enough for Government work".

To greatly reduce the risk of bad data, the developer should always provide easily accessible and/or routinely timed table referential integrity audits.. to assure that the data is accurate at a given moment or predetermined interval. "Good Housekeeping" is a must practice, and a very popular magazine.. <smile>.

0
 
LVL 14

Expert Comment

by:wsh2
ID: 2601728
PSsssst.. Let me know how you make out.. k?
0
 

Author Comment

by:bufordk
ID: 2601982
Thank You ........I Passed!
By a whole......FIVE POINTS!
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2602043
Atta B!!!... <huge smile>
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now