HOTSPOT -
You are maintaining statistics for a database table named tblTransaction. The table contains more than 10 million records.
You need to create a stored procedure that meets the following requirements:
✑ On weekdays, update statistics for a sample of the total number of records in the table.
✑ On weekends, update statistics by sampling all rows in the table.
A maintenance task will call this stored procedure daily.
How should you complete the stored procedure? To answer, select the appropriate Transact-SQL segments in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
julie2020
Highly Voted 4 years, 8 months agoAlex5x
Most Recent 4 years, 6 months agokimalto452
4 years, 4 months agoNickname17
4 years, 12 months agoEngineerdocing
4 years, 11 months ago