You administer a Microsoft SQL Server database that supports a shopping application. You need to retrieve a list of customers who live in territories that do not have a sales person. Which Transact- SQL query or queries should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. SELECT CustomerID FROM Customer WHERE TerritoryID SOME(SELECT TerritoryID FROM Salesperson)Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.
You develop a database for a travel application. You need to design tables and other database objects.
You create the Historical_Events table.
You need to store dates by using the smallest possible storage size.
What should you do?
A. Use the CAST function.You administer a Microsoft SQL Server database that contains a table named Products.
In a bit column named Discontinued, a value of 1 indicates a product is inactive, and a value of 0 indicates the product is active.
You need to create a view that returns a column with a full product status description.
Which expression should you use to define the column?
A. IF(Discontinued = 0, `Active', `Inactive')You work as a SQL Server 2012 database developer at ABC.com. You are developing a stored procedure for ABC.com's e-Commerce application.
Your stored procedure must display unique values from one column in multiple columns in the result set.
How would you accomplish this?
A. You should make use of the OUTER APPLY operator.What are possible reasons that SQL Server does not reuse an existing cached plan? (Choose all that apply.)
A. Because a SET option that influences the query result was changedWhere does SQL Server sort the data, if a sort is needed?
A. In the current databaseDRAG DROP
You use Microsoft SQL Server client tool to develop a Microsoft Azure SQL Database instance to support an e-commerce application. The database consists of a Product table, a Store table, and a StoreProduct table as shown in the exhibit.
(Click the Exhibit button.)
You need to write a trigger that meets the following requirements:
Stores are not physically deleted, but are marked as deleted.
When a store is deleted, the products that are sold in that store are marked as discontinued.
Which four Transact-SQL segments should you use to develop the solution? To answer, move the appropriate Transact-SQL segments from the list of Transact-SQL segments to the answer area and arrange them in the correct order. Exhibit

Select and Place:

How many clustered indexes can you create on a table?
A. 999You develop a SQL Server database for a large multinational company.
You must develop a stored procedure to loop through employee information and return data for one employee at a time.
How should you complete the stored procedure? To answer, drag the appropriate Transact-SQL segment to the correct locations in the answer area. Each Transact-SQL segment may be used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.
Select and Place:

You have a SQL Server database that contains all of the customer data for your company.
You need to extract a random 1,000 row sample from a table Customers.
Part of the correct Transact-SQL has been provided in the answer area below. Enter the code in the answer area that resolves the problem and meets the stated goals or requirements. You can add code within the code that has been
provided as well as below it.


Use the Check Syntax button to verify your work. Any syntax or spelling errors will be reported by line and character position.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-461 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.