单项选择题
YouareresponsibleformaintainingaSQLServer2005database.BusinessanalystsinthecompanyroutinelyuseaviewnamedvCustomerSalestojointheCustomersandSalestablesinthedatabase.Theyusetheviewtoaggregatetotalsalesbycustomerbymonth.Youneedtoincreasetheperformanceoftheview.Whatshouldyoudo?()
A.UpdatetheviewtouseanouterjoinbetweentheCustomersandSalestables.
B.CreateaclusteredindexonthevCustomerSalesview.
C.CreatetwoseparateviewsthatdonotcontainanyjoinsoneviewnamedCustomersfortheCustomerstableandanotheronenamedvSalesfortheSalestable.
D.CreateastoredprocedureforthebusinessanalyststhatusesthevCustomerSalesview.
A.BusinessanalystsinthecompanyroutinelyuseaviewnamedvCustomerSalestojointheCustomersandSalestablesinthedatabase.Theyusetheviewtoaggregatetotalsalesbycustomerbymonth.Youneedtoincreasetheperformanceoftheview.Whatshouldyoudo?()
A.UpdatetheviewtouseanouterjoinbetweentheCustomersandSalestables.
B.CreateaclusteredindexonthevCustomerSalesview.
C.CreatetwoseparateviewsthatdonotcontainanyjoinsoneviewnamedCustomersfortheCustomerstableandanotheronenamedvSalesfortheSalestable.
D.CreateastoredprocedureforthebusinessanalyststhatusesthevCustomerSalesview.