PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-461

Exam 70-461: Querying Microsoft SQL Server 2012

Which Transact-SQL query should you use?

Your database contains a table named SalesOrders. The table includes a DATETIME column named
OrderTime that stores the date and time each order is placed. There is a non-clustered index on the OrderTime
column. The business team wants a report that displays the total number of orders placed on the current day.
You need to write a query that will return the correct results in the most efficient manner. Which Transact-SQL
query should you use?

You need to reduce procedure cacheusage from these statements without creating any additional indexes

You are developing a database application by using Microsoft SQL Server 2012. An application that usesa
database begins to run slowly. You discover that a large amount of memory is consumed by single-use
dynamic queries. You need to reduce procedure cacheusage from these statements without creating any
additional indexes. What should you do?

You need to optimize the statement

You are developing a database application by using Microsoft SQL Server 2012. An application that usesa
database begins to run slowly. Your investigation shows the root cause is a query against a read-only table that
has a clustered index. The query returns the following six columns:
One column in its WHERE clause contained in a non-clustered index Four additional columns
One COUNT (*) column based on a grouping of the four additional columns You need to optimize the
statement.
What should you do?


Page 18 of 21« First...10...1617181920...Last »