Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.
You develop a database for a travel application. You create a view that displays details of events and
attractions. The names of the event and attractions are sorted alphabetically.
You need to sort the names in a case-sensitive, dictionary order.
What should you do?
A . Use the CAST function.
B . Use the DATE data type.
C . Use the FORMAT function.
D . Use an appropriate collation.
E . Use a user-defined table type.
F . Use the VARBINARY data type.
G . Use the DATETIME data type.
H . Use the DATETIME2 data type.
. Use the DATETIMEOFFSET data type.
. Use the TODATETIMEOFFSET function.
Answer: D
Explanation:
This topic describes SQL Server 2008 collation options for instances of SQL Server that require compatibility with versions of SQL Server that do not use collations.
The following SQL collations are listed on the Collation Settings page of the SQL Server Installation Wizard.
References: https://msdn.microsoft.com/it-it/library/ms144250(v=sql.105).aspx
Leave a Reply