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