What should you create to ensure that only phone numbers that use a specific format are written to the database?

You are designing a database that will store telephone numbers. You need to ensure that only phone numbers that use a specific format are written to the database. What should you create?

You are designing a database that will store telephone numbers. You need to ensure that only phone numbers that use a specific format are written to the database. What should you create?

A.
a CHECK constraint

B.
a computed column

C.
a DEFAULT constraint

D.
a persisted computed column



Leave a Reply 0

Your email address will not be published. Required fields are marked *