Microsoft
70-451 · Question #68
You are designing a table to store customer data. The table will contain a column to store the e-mail addresses of the customers. You need to recommend a solution to store the e-mail addresses. The…
The correct answer is B. Use a CHECK constraint that uses a CLR function. See the full explanation below for the reasoning.
Question
You are designing a table to store customer data. The table will contain a column to store the e-mail addresses of the customers. You need to recommend a solution to store the e-mail addresses. The solution must meet the following requirements:
- E-mail addresses must contain the @ symbol
- E-mail addresses must be validated by using a regular expression
- E-mail addresses must contain a top-level domain of .com, .org,
or .edu What should you recommend?
Options
- ACreate an e-mail profile for the Database Mail SQL Server component.
- BUse a CHECK constraint that uses a CLR function.
- CAdd a custom schema to the database.
- DUse a non-persisted computed column.
How the community answered
(39 responses)- A5% (2)
- B77% (30)
- C3% (1)
- D15% (6)
Community Discussion
No community discussion yet for this question.