PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which datepart argument should you use to get the minute?

Your manager has asked you to extend one of the complex stored procedures used to calculate
time differences between lab test results. In particular, during the stored procedures you need to
check the exact minute value of a datatime value. Your manager has suggested that you use the
DATENAME function and pass in the date and datepart argument. Which datepart argument should
you use to get the minute?

Which parameter should you use when you create the column?

Your manager has asked you to design a new table and enforce rules for the type of information
that can be stored in a particular column. The information must match a particular pattern e.g. a
number between 1 and 7. This checking must be performed during insert or update operations.
Which parameter should you use when you create the column?

What will happen when a row is deleted from the medical…

You’re designing a new table that will hold information about medical records. Another table called
documents contains a foreign key that references this table. To make sure information is cleaned
up when a delete operation is performed, you’ve added an ON DELETE CASCADE statement to
the foreign key relationship. What will happen when a row is deleted from the medical records table?


Page 654 of 6,830« First...102030...652653654655656...660670680...Last »