An eTaxi company is recruiting staff in the age range 18-31. Potential recruits simply visit the company website and fill out a form. The company will send further details about the position at a later date.
Look at the form above. Try using it. What happens if:
Yes, that's right! Databases can be programmed to accept valid data only!
Database engineers design data validation rules to help minimise the rick of invalid data entry. Here are some of the kinds of rules that can be designed:
Using the form above, what kind of validation rule has been created for each data entry element?
Import the file below into your application and figure out how to create a form. Make it pretty!
Can you figure out how to create a to add a new record to the form?
Be smart! Download the file and save it in a new project folder. Don't leave it in the downloads folder of your computer. You are not a newbie!
Research Data Validation for the database application you are using. Test your validation rules by attempting to enter valid and invalid data into the database table.
Common validation checks are:
You may also be able to design data type and format checks, too.
Be smart! Download the file and save it in a new project folder. Don't leave it in the downloads folder of your computer. You are not a newbie!
In your evidence document, paste a screenshot of each validation rule you designed, along with the name of the rule.
Data validation is critical in the design of database systems. Imagine if you signed up for Facebook and you were allowed to enter ggg.xxx.3 as your email address! Or 23/10/1843 as your date of birth!
database import evidence table integer screenshot record text field double data type