You work for a supermarket that uses a SQL Server database to store line items from point of sales (POS) transactions. The POS processes 150,000 transactions every day. The application requires a clustered index on the TransactionID column. You need to create a table that supports an efficient reporting solution that queries the transactions by date.
What will you do to achieve this goal?
A. Place a nonclustered index on the date column.
B. Add a unique clustered index on the date column.
C. Map each partition to a filegroup, with each filegroup accessing a different physical drive.
D. Create a partitioning scheme that partitions the data by date.
E. Both A and D
F. None
Answer: [E]
Highlight to find out the answer.
Visit here to practice your SQL Server skills.
Sunday, September 25, 2011
Query transactions by date
at 5:25 AM
Labels: SQL Server, SQL Server 2000, SQL Server 2005, SQL Server 2008, SQL Server Test, SQL Server Tip, T-SQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment