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
7 months agoBuck
7 months agoAlverta
8 months agoFrancesco
8 months agoRosalyn
8 months agoBillye
8 months agoBarabara
8 months agoSarah
8 months agoShoshana
8 months agoRikki
8 months agoChaya
8 months agoIra
9 months ago