Which of the following datatypes has a fixed precision and a scale of six digits?
A. DoubleYou need to build a table structure for a stored procedure to support data entry from a website form. The website form must meet the following requirements:
Users must validate their age as 18 or older to use the website.
Users who leave the date of birth field blank, or who enter an invalid date, must receive an error message.
Which two actions should you perform? Each correct answer presents part of the solution.
A. Add the CHECK constraint to the table structure.When referring in the OUTPUT clause to columns from the inserted rows, when should you prefix the columns with the keyword inserted?
A. AlwaysDRAG DROP
A database has a Customers table that includes the following fields:

You must add a new field named AccountBalance. The AccountBalance field has the following requirements:
1. The account balance must always include a value.
2. The account balance must have an initial value of 0.
3. The account balance must not have a negative value.
You need to add the AccountBalance fields to the table.
How should you complete the relevant Transact-SQL statement? To answer, drag the appropriate Transact-SQL segment to the correct location or location. 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:

DRAG DROP
You are the administrator for a heavily-used OLTP Microsoft SQL Server database.
You are troubleshooting performance issues seen when using stored procedures in the database. The database stores millions of orders across thousands of customers. Some of the customers have large numbers of orders, while others
have only one order. You update the statistics and perform defragmentation of all tables and indexes, but two stored procedures still have issues when accessing data.
p_GetCustomer accepts @companyID as a parameter. From the results of profiling, you know that 90 percent of the calls use the @companyid value of 5, while the other 10 percent of calls are evenly distributed across another 10000 values.
While viewing the execution plan, you discover that a non-clustered index seek is used.
p_GetShipDate accepts @orderID as a parameter and returns the ship date for that order. You discover that the execution plan is performing a scan on a non-clustered index that has orderID as the index key.
You need to add appropriate query hints to each stored procedure to improve the performance.
What should you do? To answer, drag the appropriate procedures to the correct hints. Each procedure 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:

DRAG DROP
You administer a Microsoft SQL Server database.
A vendor provides an encrypted stored procedure named MyProcedure that produces the following result set:

You want to produce a result set that includes the following columns with the data types indicated:

You only have permissions to execute MyProcedure.
You need to ensure that the result set has the required data types.
Which three 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.
Select and Place:

You have a data warehouse that contains the data for all the customers of your company.
You need to create a query dynamically generates a SELECT statement from a table named CUSTOMERS. The SELECT statement must generate a full list of columns.
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.
As part of a new enterprise project, you're designing a new table to store financial transactions. This table could eventually store millions of rows and so storage space is very important. One of the columns in the table will store either a 1 or 0 value. Which data type would be most appropriate?
A. bitYou use a Microsoft SQL Server 2012 database that contains a table named BlogEntry that has the following columns. Id is the Primary Key. You need to append the "This is in a draft stage" string to the Summary column of the recent 10 entries based on the values in EntryDateTime. Which Transact-SQL statement should you use?

Which of the following are true about synonyms? (Choose all that apply.)
A. Synonyms do not store T-SQL code or data.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.