You are a database developer. You plan to design a database solution by using SQL Server 2008. A database contains a stored procedure that is created by using the following DDL code segment.

You discover that the UPDATE statement occasionally throws an exception that causes the entire transaction to roll back. You need to ensure that when the UPDATE statement causes an exception, SP1 performs the following tasks:
What should you do?
A. Add a TRY/CATCH block after the INSERT statement. Place the UPDATE statement inside the new TRY block.?Add a ROLLBACK TRANSACTION statement inside the new CATCH block.You have a table that contains a string column. Most of the rows have the same value. You need to create a multistep stored procedure that meets the following requirements: What should you use?
A. sp_recompileYou are a database developer. You plan to design a database solution by using SQL Server 2008.
A table in a database will store large image files (20-50 MB in size).
You have the following business requirements:
Which strategy should you use?
A. Use an image data type.You have a database that has 20 tables.
The tables are not configured to have any referential integrity. All tables have primary keys. Each table contains over 5 million rows. Ten percent of the rows contain outdated information.
You need to design a maintenance process to delete all outdated rows. The solution must meet the following requirements:
What should the design include?
A. a WHILE loop that contains a single DELETE statementYou are designing a table that will contain the columns in the following table.

You need to add a column that will display the sum of the Subtotal, TaxAmt, and FreightAmt columns. The solution must minimize the amount of storage space required to store the table. What should you create?
A. a column that uses the numeric data typeYou have an instance of SQL Server 2008 that has xp_cmdshell enabled. You need to design a stored procedure that meets the following requirements: What should you include in the design?
A. Grant users permission to execute xp_cmdshell.You are a database solutions architect. Your company plans to develop a solution by using a SQL Server 2008 instance.
You design a new database that contains a table to store Microsoft Office documents.
You have the following business requirements:
You need to use an appropriate data type to store the documents.
Which data type should you use?
A. varchar(max)You are a database developer. You plan to design a database solution by using SQL Server 2008. The database will contain a table that will store customer data as XML data. The data supports an application that cannot be altered.
You plan to prevent the following types of errors in the XML data.
NULL values in the Customer Name field
Non-numeric values in the Customer Telephone field.
Invalid values in the Gender field
You need to implement the plan without modifying the application.
What should you do?
A. Use the FileStream data type.You are a database developer. You plan to design a database solution by using SQL Server 2008. The database will contain a common language runtime (CLR) user-defined scalar function. The function will return an integer value.
You need to ensure that the computed columns that use the result from this function can be indexed.
What should you do?
A. 1. Ensure that the logic of the function returns the same value for the same input values and the same database state.2. Ensure that the IsDeterministic property is set to True.You are a database developer. You plan to design a database solution by using SQL Server 2008.
Account managers in your company store order data in a database. Your company requires a list of customers for each account manager. The list must be sorted in the descending order of the order amount.
You create a query that generates the list at the end of each month. You need to ensure that the query executes as quickly as possible.
What should you do?
A. Create a cursor that returns each account manager, and then sort the order data by order amount.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-451 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.