I think option A is the way to go. Creating a trigger before the insert to set the age to 0 if it's negative is a straightforward and reliable solution. It's a common approach for handling data validation in the database.
Okay, I've read through the options. I think B and C are the correct answers, but I'm not 100% sure. I'll need to review my notes on design patterns to be more confident.
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Merilyn
4 months agoBuck
4 months agoAlverta
5 months agoFrancesco
5 months agoRosalyn
5 months agoBillye
5 months agoBarabara
5 months agoSarah
5 months agoShoshana
5 months agoRikki
5 months agoChaya
5 months agoIra
6 months ago