Câu 8: 70-461: MCSA Querying Microsoft SQL Server 2012/2014
You need to build a table structure for a stored procedure to support data entry from a website form. The website form must meet the following requirements: ✑ Users must validate their age as 18 or older to use the website. ✑ Users who leave the date of birth field blank, or who enter an invalid date, must receive an…
Nội dung câu hỏi
You need to build a table structure for a stored procedure to support data entry from a website form. The website form must meet the following requirements: ✑ Users must validate their age as 18 or older to use the website. ✑ Users who leave the date of birth field blank, or who enter an invalid date, must receive an error message. Which two actions should you perform? Each correct answer presents part of the solution.
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Add the CHECK constraint to the table structure.
- B. Add the DATEPART function to the stored procedure.
- C. Add the DEFAULT constraint to the table structure.
- D. Add the SYSDATETIMEOFFSET function to the stored procedure. — đáp án hiện tại
- E. Add the ISDATE function to the stored procedure. — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.