nerdexam
Exams70-466Questions#28
Microsoft

70-466 · Question #28

70-466 Question #28: Real Exam Question with Answer & Explanation

Sign in or unlock 70-466 to reveal the answer and full explanation for question #28. The question stem and answer options stay visible for context.

Configure and maintain an analysis services database

Question

You execute the following code: CREATE TABLE dbo.Customers ( id int PRIMARY KEY, CustomerName char(10) ) You create a nonclustered index named IX_CustomerName on the CustomerName column. You execute the following query: SELECT * FROM dbo.Customers WHERE LEFT(CustomerName,1) = 'a' You need to reduce the amount of time it takes to execute the query. What should you do?

Options

  • AReplace LEFT(CustomerName,1) = 'a' with CustomerName LIKE 'a%'.
  • BPartition the table and use the CustomerName column for the partition scheme.
  • CReplace LEFT(CustomerName,1) = 'a' with SUBSTRING(CustomerName,1,1) = 'a'.
  • DReplace IX_CustomerName with a clustered index.

Unlock 70-466 to see the answer

You've previewed enough free 70-466 questions. Unlock 70-466 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#query optimization#nonclustered index#LIKE operator#T-SQL
Full 70-466 Practice
You execute the following code: CREATE TABLE dbo.Customers ( id... | 70-466 Q#28 Answer | NerdExam