You are on page 1of 41

70-464.Examcollection.Premium.Exam.

182q

Number: 70-464
Passing Score: 800
Time Limit: 120 min
File Version: 23.0

Exam Code: 70-464

Exam Name: Developing Microsoft SQL Server 2012 Databases

Version 23.0

www.vceplus.com - Download A+ VCE (latest) free Open VCE Exams - VCE to PDF Converter - VCE Exam Simulator - VCE Online - IT Certifications

Testlet 1

Scenario 1

Application Information
Your company receives invoices in XML format from customers. Currently, the invoices are stored as files and processed by a desktop application. The
application has several performance and security issues. The application is being migrated to a SQL Server-based solution. A schema named
InvoiceSchema has been created for the invoices xml.

The data in the invoices is sometimes incomplete. The incomplete data must be stored and processed as-is. Users cannot filter the data provided
through views.

You are designing a SQL Server database named DB1 that will be used to receive, process, and securely store the invoice data. A third-party Microsoft
.NET Framework component will be purchased to perform tax calculations. The third-party tax component will be provided as a DLL file named
Treytax.dll and a source code file named Amortize.cs. The component will expose a class named TreyResearch and a method named Amortize(). The
files are located in c:\temp\.

The following graphic shows the planned tables:

You have a sequence named Accounting.InvoiceID_Seq.

You plan to create two certificates named CERT1 and CERT2. You will create CERT1 in master. You will create CERT2 in DB1.

www.vceplus.com - Download A+ VCE (latest) free Open VCE Exams - VCE to PDF Converter - VCE Exam Simulator - VCE Online - IT Certifications

You have a legacy application that requires the ability to generate dynamic T-SQL statements against DB1. A sample of the queries generated by the
legacy application appears in Legacy.sql.

Application Requirements
The planned database has the following requirements:
All stored procedures must be signed.
The original XML invoices must be stored in the database.
An XML schema must be used to validate the invoice data.
Dynamic T-SQL statements must be converted to stored procedures.
Access to the .NET Framework tax components must be available to T-SQL objects.
Columns must be defined by using data types that minimize the amount of space used by each table.
Invoices stored in the InvoiceStatus table must refer to an invoice by the same identifier used by the Invoice table.
To protect against the theft of backup disks, invoice data must be protected by using the highest level of encryption.
The solution must provide a table-valued function that provides users with the ability to filter invoices by customer.
Indexes must be optimized periodically based on their fragmentation by using the minimum amount of administrative effort.

Usp_InsertInvoices.sql

www.vceplus.com - Download A+ VCE (latest) free Open VCE Exams - VCE to PDF Converter - VCE Exam Simulator - VCE Online - IT Certifications

Invoices.xml
All customer IDs are 11 digits. The first three digits of a customer ID represent the customer's country. The remaining eight digits are the customer's
account number.

The following is a sample of a customer invoice in XML format:

www.vceplus.com - Download A+ VCE (latest) free Open VCE Exams - VCE to PDF Converter - VCE Exam Simulator - VCE Online - IT Certifications

vceplus.IT Certifications .sql www.com .Download A+ VCE (latest) free Open VCE Exams .VCE to PDF Converter .VCE Exam Simulator .sql CountryFromID.InvoicesByCustomer.sql Legacy.VCE Online .

VCE to PDF Converter .com .sql www.IndexManagement.IT Certifications .VCE Online .Download A+ VCE (latest) free Open VCE Exams .VCE Exam Simulator .vceplus.

com .vceplus.www.IT Certifications .VCE Online .VCE to PDF Converter .VCE Exam Simulator .Download A+ VCE (latest) free Open VCE Exams .

VCE Online . Option D www.QUESTION 1 You are testing disaster recovery procedures.Download A+ VCE (latest) free Open VCE Exams .IT Certifications . Which code segment should you execute? A.0xA694FBEA88C9354E5E2567C30A2A69E8FB4C44A9\ Msg 3013. State 1. Line 1 RESTORE DATABASE is terminating abnormally. State 3. Option B C." You need to ensure that you can restore DB1 to a different server. You attempt to restore DB1 to a different server and you receive the following error message: "Msg 33111.VCE Exam Simulator . Level 16. Option A B.VCE to PDF Converter .vceplus. Option C D. Line 1 Cannot find server certificate with thumbprint .com . Level 16.

VCE Exam Simulator .IT Certifications .vceplus.VCE Online .Download A+ VCE (latest) free Open VCE Exams . Option D Correct Answer: C Section: [none] Explanation Explanation/Reference: www.com . Option B C. How should you define the InvoiceID column in the CREATE TABLE statement? A. Option A B.Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 2 You need to create the InvoiceStatus table in DB1.VCE to PDF Converter . Option C D.

com/en-us/library/ms176089.VCE Online .vceplus.372.775.036.808) to 2^63-1 (9.648) to 2^31-1 (2.223. int: -2^31 (-2.com/en-us/library/ms187745.036.147.VCE to PDF Converter .483.com .Download A+ VCE (latest) free Open VCE Exams . bigint C.854. varchar(11) B.QUESTION 3 Which data type should you use for CustomerID? A.483.aspx http://msdn.IT Certifications .aspx QUESTION 4 You need to modify InsertInvoice to comply with the application requirements.372. Which code segment should you execute? www. The remaining eight digits are the customer's account number. nvarchar(11) D.microsoft.147.854.VCE Exam Simulator .807) http://msdn.775.647) (just 10 digits max) bigint: -2^63 (-9.xml All customer IDs are 11 digits. The first three digits of a customer ID represent the customer's country.microsoft. char(11) Correct Answer: D Section: [none] Explanation Explanation/Reference: Explanation: Invoices.223.

com .A.VCE Exam Simulator . Option B C.vceplus. Option C D.Download A+ VCE (latest) free Open VCE Exams .VCE to PDF Converter .IT Certifications . Option D Correct Answer: D Section: [none] Explanation Explanation/Reference: www. Option A B.VCE Online .

' C. InvoiceDate date '@InvoiceDate'.com/en-us/library/ms186755. How should you modify the INSERT statement? A.com . Procedure usp_InsertInvoice.com/en-us/library/ms191320. 19 Correct Answer: D Section: [none] Explanation Explanation/Reference: Explanation: http://msdn. column does not allow nulls." You need to modify usp_InsertInvoice.QUESTION 5 You attempt to process an invoice by using usp_InsertInvoice.sql? A.sql to ensure that the country name is returned instead of the country ID. Correct Answer: C Section: [none] Explanation Explanation/Reference: QUESTION 6 You need to modify the function in CountryFromID. 04 B.Download A+ VCE (latest) free Open VCE Exams . Which line of code should you modify in CountryFromID.VCE to PDF Converter .sql to resolve the error. State 2. INSERT fails.microsoft. 05 C. B.aspx http://msdn.Invoices'.aspx QUESTION 7 You execute IndexManagement. table 'DB1.sql and you receive the following error message: www.Accounting.VCE Exam Simulator . InvoiceDate varchar(100) 'Customer/InvoiceDate'. Line 10 Cannot insert the value NULL into column 'InvoiceDate'. Level 16.microsoft. D.VCE Online . 06 D.sql and you receive the following error message: "Msg 515. InvoiceDate varchar(l00) 'InvoiceDate'.vceplus. InvoiceDate date 'Customer/@InvoiceDate'.IT Certifications .

! =. WHILE COUNT(@RowNumber) < (SELECT @counter FROM @indextable) D. Level 16.vceplus.IT Certifications . WHILE @counter < (SELECT SUM(RowNumber) FROM @indextabie) Correct Answer: B Section: [none] Explanation Explanation/Reference: QUESTION 8 You need to convert the functionality of Legacy.sql to use a stored procedure.VCE Exam Simulator . Line 12 Subquery returned more than 1 value. <. Which WHILE statement should you use at line 18? A.VCE Online . Which code segment should the stored procedure contain? www. WHILE SUM(@RowNumber) < (SELECT @counter FROM @indextable) B.>. This is not permitted when the subquery follows =. <= .VCE to PDF Converter .sql executes properly. > = or when the subquery is used as an expression." You need to ensure that IndexManagement. WHILE @counter < (SELECT COUNT(RowNumber) FROM @indextable) C.com .Download A+ VCE (latest) free Open VCE Exams ."Msg 512. State 1.

microsoft.aspx http://msdn. Option B C. Option A B.VCE Exam Simulator .vceplus.com .microsoft.com/en-us/library/ms187926.com/en-us/library/ms190782.aspx www.A.IT Certifications .VCE Online .Download A+ VCE (latest) free Open VCE Exams . Option D Correct Answer: D Section: [none] Explanation Explanation/Reference: Explanation: http://msdn. Option C D.VCE to PDF Converter .

aspx http://msdn.IT Certifications .sql. Option D Correct Answer: A Section: [none] Explanation www.http://msdn.vceplus.VCE Online .microsoft.VCE to PDF Converter . Option C D.aspx http://msdn.VCE Exam Simulator .com/en-us/library/bb669091.microsoft. Which code segment should you use to complete the function? A.microsoft.com .Download A+ VCE (latest) free Open VCE Exams .com/en-us/library/windows/desktop/ms709342. The SELECT statement for the function is contained in InvoicesByCustomer. Option B C.com/en-us/library/ms188001. Option A B.aspx QUESTION 9 You need to create a function that filters invoices by CustomerID.

Explanation/Reference: QUESTION 10 You need to build a stored procedure that amortizes the invoice amount.VCE Online .IT Certifications . move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order. Select and Place: Correct Answer: www. Which code segment should you use to create the stored procedure? To answer.VCE Exam Simulator .com .vceplus.Download A+ VCE (latest) free Open VCE Exams .VCE to PDF Converter .

aspx www.microsoft.VCE Online .vceplus.IT Certifications .com .microsoft.com/en-us/library/ms131048.microsoft.VCE Exam Simulator .VCE to PDF Converter .aspx http://msdn.Section: [none] Explanation Explanation/Reference: Explanation: http://msdn.aspx http://msdn.com/en-us/library/ms187926.com/en-us/library/ms131089.Download A+ VCE (latest) free Open VCE Exams .

A stored procedure named usp_UpdateSpeakersName will be executed only by other stored procedures.VCE Online .vceplus.com . A junior database administrator has created all the scripts that will be used to create the database. Users report that the application has many errors and is very slow. Usp_SelectSpeakersByName can read uncommitted data.Download A+ VCE (latest) free Open VCE Exams . DB2 has a table named SpeakerAudit that will audit changes to a table named Speakers.sql www.sql.VCE to PDF Converter . The stored procedures executing usp_UpdateSpeakersName will always handle transactions. The script that you plan to use to create the indexes for the new database is shown in Indexes. You have an application that is used to schedule and manage conferences. You plan to create a new database on SQL1 to support the application.Testlet 1 Scenario 2 Application Information You have two servers named SQL1 and SQL2 that have SQL Server 2012 installed.IT Certifications . Procedures.sql.) A database named DB2 resides on SQL2.VCE Exam Simulator . You are updating the application to resolve the issues. (Line numbers are included for reference only. The script that you plan to use to create the tables for the new database is shown in Tables. A stored procedure named usp_SelectSpeakersByName will be used to retrieve the names of speakers. A stored procedure named usp_GetFutureSessions will be used to retrieve sessions that will occur in the future.sql. The script that you plan to use to create the stored procedures for the new database is shown in StoredProcedures.

IT Certifications .www.VCE Online .com .VCE Exam Simulator .Download A+ VCE (latest) free Open VCE Exams .VCE to PDF Converter .vceplus.

VCE Online .VCE to PDF Converter .com .VCE Exam Simulator .Download A+ VCE (latest) free Open VCE Exams .vceplus.www.IT Certifications .

vceplus.com .www.VCE Online .IT Certifications .VCE to PDF Converter .VCE Exam Simulator .Download A+ VCE (latest) free Open VCE Exams .

Download A+ VCE (latest) free Open VCE Exams .sql Tables.IT Certifications .sql www.VCE to PDF Converter .com .VCE Exam Simulator .Indexes.vceplus.VCE Online .

IT Certifications .VCE to PDF Converter .vceplus.VCE Online .Download A+ VCE (latest) free Open VCE Exams .VCE Exam Simulator .com .www.

VCE to PDF Converter .VCE Exam Simulator .vceplus. Option C D.microsoft.sql? A.com .com/en-us/library/ms189049.IT Certifications . Option A B. Option D Correct Answer: B Section: [none] Explanation Explanation/Reference: Explanation: http://msdn.com/en-us/library/ff878370.Download A+ VCE (latest) free Open VCE Exams .QUESTION 1 You need to provide referential integrity between the Sessions table and Speakers table. Option B C.microsoft.aspx http://msdn.microsoft. Which code segment should you add at line 47 of Tables.aspx http://msdn.VCE Online .aspx QUESTION 2 www.com/en-us/library/ms179610.

Change tracking Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 4 You are evaluating the table design. You discover that usp_SelectSpeakersByName uses inefficient execution plans. OPTION (FORCESEEK) C. www. What should you include in the recommendation? A. Change data capture D.aspx QUESTION 3 You need to recommend a solution to ensure that SQL1 supports the auditing requirements of usp_UpdateSpeakerName. Transactional replication C. OPTION (FORCESCAN) B. You need to update usp_SelectSpeakersByName to ensure that the most efficient execution plan is used. What should you add at line 30 of Procedures. OPTION (OPTIMIZE FOR UNKNOWN) D.com .IT Certifications .VCE Exam Simulator . The Distributed Transaction Coordinator (DTC) B.vceplus.VCE Online .com/en-us/library/ms181714.microsoft.Download A+ VCE (latest) free Open VCE Exams . OPTION (OPTIMIZE FOR (@LastName= 'Anderson')) Correct Answer: C Section: [none] Explanation Explanation/Reference: Explanation: http://msdn.VCE to PDF Converter .You execute usp_TestSpeakers.sql? A.

Download A+ VCE (latest) free Open VCE Exams .CreateFullName (FirstName.aspx http://msdn.com/en-us/library/ms186243.IT Certifications .aspx http://msdn.aspx QUESTION 5 You need to modify usp_SelectSpeakersByName to support server-side paging. FullName AS (FirstName +` '+ LastName) PERSISTED.com/en-us/library/ms188300. FullName nvarchar(100) NOT NULL CONSTRAINT DF_FuIlName DEFAULT (dbo.aspx http://msdn. FullName AS (FirstName +` '+ LastName). What should you add at line 14 of Tables.CreateFullName (FirstName.sqlserver-training.com/en-us/library/ms180152. A table variable B. LastName)).serverpaging-methods/ http://msdn.aspx http://msdn.sql that reduces the amount of time it takes for usp_AttendeesReport to execute.microsoft.microsoft. FullName nvarchar(100) NOT NULL DEFAULT (dbo.VCE Exam Simulator .com/blogs/ juggling_with_sql/2011/11/30/using-offset-and-fetch/ www.sqlservercentral.mssqltips.aspx http://www.vceplus.com/en-us/library/ms188385.sql? A.microsoft. The solution must minimize the amount of development effort required. Correct Answer: D Section: [none] Explanation Explanation/Reference: Explanation: http://msdn.VCE to PDF Converter .com/how-to-use-offset-fetch-option-in-sql-server-order-byclause/. An OFFSET-FETCH clause C. B. LastName)).com . D.microsoft.com/sqlservertip/2696/comparing-performance-for-different-sql.microsoft.microsoft.http://www. The ROWNUMBER keyword D.com/en-us/library/ms186734. C.VCE Online . What should you add to usp_SelectSpeakersByName? A.com/en-us/library/ms191250.You need to recommend a change to Tables. A recursive common table expression Correct Answer: B Section: [none] Explanation Explanation/Reference: Explanation: http://www.

Which code block should you use? A. ALTER TABLE Attendees ADD Confirmed bit DEFAULT 0. Which statement should you use? A.microsoft.com . ALTER TABLE Attendees ADD Confirmed char(l) DEFAULT `1'. ALTER TABLE Attendees ADD Confirmed bit DEFAULT 1.vceplus.VCE Exam Simulator .Download A+ VCE (latest) free Open VCE Exams . Minimize the amount of disk space used. D. B.IT Certifications .aspx QUESTION 7 You need to create the object used by the parameter of usp_InsertSessions. C. CREATE SCHEMA SessionDataTable D.VCE Online .com/en-us/library/ms177603. CREATE XML SCHEMA COLLECTION SessionDataTable B. Correct Answer: A Section: [none] Explanation Explanation/Reference: Explanation: http://msdn. CREATE TYPE SessionDataTable AS Table C. CREATE TABLE SessionDataTable Correct Answer: B Section: [none] Explanation www. The solution must meet the following requirements: Have a default value of false.VCE to PDF Converter .QUESTION 6 You need to add a new column named Confirmed to the Attendees table. ALTER TABLE Attendees ADD Confirmed char(l) DEFAULT '1'.

SelectSpeakersByName. You need to minimize the execution time of usp.VCE Exam Simulator . Usp_UpdateSpeakerName to use snapshot isolation C. Replace line 46 with the following code: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE B. What should you update? A. Replace line 46 with the following code: SET TRANSACTION ISOLATION LEVEL REPEATABLE READ C. The solution must not affect the performance of the other stored procedures. You need to prevent the error from occurring.IT Certifications .Download A+ VCE (latest) free Open VCE Exams . Usp_UpdateSpeakerName to use the NOLOCK query hint B.sql? A. Correct Answer: A Section: [none] Explanation Explanation/Reference: QUESTION 9 You discover that usp. Move the SET statement at line 46 to line 53. D. The solution must ensure that the stored procedure returns the original values to all of the updated rows.vceplus. Usp_SelectSpeakersByName to use the NOLOCK query hint D.VCE to PDF Converter . Usp_SelectSpeakersByName to use snapshot isolation Correct Answer: C Section: [none] Explanation Explanation/Reference: www. Move the SELECT statement at line 49 to line 57.SelectSpeakersByName executes slowly if usp_UpdateSpeakerName executes simultaneously. What should you configure in Procedures.VCE Online .Explanation/Reference: QUESTION 8 Developers report that usp_UpdateSessionRoom periodically returns error 3960.com .

READUNCOMMITTED Specifies that dirty reads are allowed.GetFutureSessions.Download A+ VCE (latest) free Open VCE Exams .VCE Exam Simulator . What should you do? (Each correct answer presents part of the solution. Option A www.NOLOCK Is equivalent to READUNCOMMITTED.vceplus.VCE Online .com . you discover that IX_Sessions is accessed by a scan rather than a seek.VCE to PDF Converter .) A. You need to minimize the amount of time it takes to execute usp_GetFutureSessions. Choose all that apply. QUESTION 10 B\Batch 1 While testing usp.IT Certifications .

) www.sql? (Each correct answer presents part of the solution. Option C D. Option F Correct Answer: BE Section: [none] Explanation Explanation/Reference: Future delivery dates.VCE Exam Simulator . What should you do in Procedures.com .VCE to PDF Converter . all of the changes executed by usp_UpdateSpeakerName are not committed to the database. Choose all that apply.Download A+ VCE (latest) free Open VCE Exams . QUESTION 11 You need to ensure that if any of the statements in usp_UpdateSpeakerName return an error message. Option D E.B. Option B C.vceplus. Option E F.IT Certifications .VCE Online .

Download A+ VCE (latest) free Open VCE Exams . Option E Correct Answer: BD Section: [none] Explanation Explanation/Reference: QUESTION NO:11 You are evaluating the index design.sql that will minimize the amount of time it takes for usp_AttendeesReport to execute.VCE Exam Simulator .IT Certifications . Option D E. The solution must minimize the amount of database frag. You need to recommend a change to Indexes.VCE to PDF Converter .mentation. Option A B. Option B C.com . Option C D.A.VCE Online .vceplus. www.

com . CREATE SCHEMA SessionDataTable B. (LastName) INCLUDE (FirstName). D. Answer: C QUESTION 12 You need to create the object used by the parameter of usp_InsertSessions. CREATE XML SCHEMA COLLECTION SessionDataTable Correct Answer: A Section: [none] Explanation Explanation/Reference: www.vceplus.sql? A. (LastName.VCE Exam Simulator . C. (FirstName) INCLUDE (LastName).Which line of code should you use to replace line 12 of Indexes. FirstName). Which statement should you use? A.IT Certifications . CREATE TABLE SessionDataTable D. CREATE TYPE SessionDataTable AS Table C. (LastName).VCE Online .Download A+ VCE (latest) free Open VCE Exams . B.VCE to PDF Converter .

sql www. The script that you plan to use to create the tables for the new database is shown in Tables. Users report that the application has many errors and is very slow.VCE Online . DB2 has a table named EmployeeAudit that will audit changes to a table named Employees.sql. You plan to create a new database on SQL1 to support the application. A stored procedure named usp_UpdateEmployeeName will be executed only by other stored procedures. SQL2 has SQL Server 2008 Standard installed. The script that you plan to use to create the stored procedures for the new database is shown in StoredProcedures.VCE Exam Simulator .IT Certifications . Usp_SelectEmployeesByName can read uncommitted data. A database named DB2 resides on SQL2.Testlet 1 Scenario 3 Application Information You have two servers named SQL1 and SQL2. You have an application that is used to manage employees and office space. SQL1 has SQL Server 2012 Enterprise installed. A stored procedure named usp_SelectEmployeesByName will be used to retrieve the names of employees.VCE to PDF Converter . You are updating the application to resolve the issues.com .sql. The script that you plan to use to create the indexes for the new database is shown in Indexes.Download A+ VCE (latest) free Open VCE Exams .vceplus.sql. The stored procedures executing usp_UpdateEmp!oyeeName will always handle transactions. StoredProcedures. A stored procedure named usp_GetFutureOfficeAssignments will be used to retrieve office assignments that will occur in the future.

VCE Exam Simulator .VCE Online .www.IT Certifications .VCE to PDF Converter .com .vceplus.Download A+ VCE (latest) free Open VCE Exams .

sql www.sql Tables.VCE Exam Simulator .com .vceplus.Indexes.VCE to PDF Converter .Download A+ VCE (latest) free Open VCE Exams .VCE Online .IT Certifications .

VCE Exam Simulator . What should you add at line 31 of StoredProcedures. You discover that usp_SelectEmployeesByName uses inefficient execution plans. passing strings of varying lengths to @LastName.com .QUESTION 1 You execute usp_SelectEmployeesByName multiple times. OPTION (ROBUST PLAN) B.VCE Online .VCE to PDF Converter . OPTION (KEEP PLAN) D.sql? A.vceplus.Download A+ VCE (latest) free Open VCE Exams . OPTION (KEEPFIXED PLAN) www. You need to update usp_SelectEmployeesByName to ensure that the most efficient execution plan is used.IT Certifications . OPTION (OPTIMIZE FOR UNKNOWN) C.

VCE Exam Simulator .microsoft. The Distributed Transaction Coordinator (DTC) Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 3 You need to add a new column named Confirmed to the Employees table.aspx QUESTION 2 You need to recommend a solution to ensure that SQL1 supports the auditing requirements of usp_UpdateEmployeeName. Change tracking C.Correct Answer: B Section: [none] Explanation Explanation/Reference: Explanation: http://msdn.Download A+ VCE (latest) free Open VCE Exams .IT Certifications . Transactional replication D. What should you include in the recommendation? A. The solution must meet the following requirements: Have a default value of TRUE.com .VCE Online . Which code segment should you use? www.VCE to PDF Converter .com/en-us/library/ms181714. Change data capture B.vceplus. Minimize the amount of disk space used.

CREATE TABLE EmployeesInfo www.com .VCE to PDF Converter . CREATE XML SCHEMA COLLECTION EmployeesInfo B.A.vceplus. Which code segment should you use? A. Option C D. Option D Correct Answer: D Section: [none] Explanation Explanation/Reference: QUESTION 4 You need to create the object used by the parameter of usp_UpdateEmployeeName. Option A B.VCE Online . CREATE SCHEMA EmployeesInfo D.IT Certifications . Option B C. CREATE TYPE EmployeesInfo AS Table C.VCE Exam Simulator .Download A+ VCE (latest) free Open VCE Exams .

sql? (Each correct answer presents part of the solution.aspx(CREATE SCHEMA) http://msdn.VCE to PDF Converter . 0.Download A+ VCE (latest) free Open VCE Exams .CostRate .IT Certifications .microsoft.com/en-us/library/ms176009. */ CREATE TYPE LocationTableType AS TABLE ( LocationName VARCHAR(50) .microsoft. GETDATE() FROM @TVP.com .aspx(CREATE TYPE *tabletypename* AS TABLE) http://msdn.Production. usp_InsertProductionLocation @TVP LocationTableType READONLY AS SET NOCOUNT ON INSERT INTO AdventureWorks2012.aspx(CREATE XML SCHEMA COLLECTION) QUESTION 5 You need to provide referential integrity between the Offices table and Employees table.com/en-us/library/ms189462.Location (Name .com/en-us/library/ms174979.com/en-us/library/bb510489. Which code segment or segments should you add at line 27 of Tables.aspx(table data types) Wrong Answers: http://msdn. GO Also: http://msdn.microsoft. CostRate INT ).microsoft.VCE Online .vceplus.Correct Answer: B Section: [none] Explanation Explanation/Reference: Explanation: Example Usage of Table-Valued Parameters (Database Engine) http://msdn.ModifiedDate) SELECT *.aspx (Benefits of using Table-Valued Parameters) /* Create a table type. */ CREATE PROCEDURE dbo.) www.microsoft.Availability .com/en-us/library/ms175010.VCE Exam Simulator . Choose all that apply.aspx(CREATE TABLE) http://msdn.microsoft. GO /* Create a procedure to receive data for the table-valued parameter.com/en-us/library/ms175007.

com/en-us/library/ms189049. The solution must minimize the amount of development effort required.vceplus.VCE to PDF Converter . Option D Correct Answer: CD Section: [none] Explanation Explanation/Reference: Explanation: http://msdn.IT Certifications .A.VCE Online . Option C D.VCE Exam Simulator .aspx QUESTION 6 You need to modify usp_SelectEmployeesByName to support server-side paging.microsoft. Option A B.Download A+ VCE (latest) free Open VCE Exams . A table variable www. What should you add to usp_SelectEmployeesByName? A.com . Option B C.

com/en-us/library/ms186243.microsoft.serverpaging-methods/ http://msdn.com/en-us/library/ms186734. An OFFSET-FETCH clause D.com/how-to-use-offset-fetch-option-in-sql-server-order-byclause/- http://www.IT Certifications .sqlservercentral.com .Download A+ VCE (latest) free Open VCE Exams .vceplus.microsoft.microsoft.mssqltips.aspx http://msdn.VCE to PDF Converter .aspx http://msdn.com/en-us/library/ms180152.VCE Online . The ROWNUMBER keyword C.com/sqlservertip/2696/comparing-performance-for-different-sql.aspx http://www.microsoft.B. A recursive common table expression Correct Answer: C Section: [none] Explanation Explanation/Reference: Explanation: http://www.VCE Exam Simulator .aspx http://msdn.com/blogs/juggling_with_sql/2011/11/30/using-offset-and-fetch/ www.com/en-us/library/ms188385.sqlserver-training.