Real Microsoft 70-464 Dumps
1.Topic 2, Scenario 2
Application Information
You have two servers named SQL1 and SQL2 that have SQL Server
2012 installed.
You have an application that is used to schedule and manage
conferences.
Users report that the application has many errors and is very slow.
You are updating the application to resolve the issues.
You plan to create a new database on SQL1 to support the application.
A junior database administrator has created all the scripts that will be
used to create the database. The script that you plan to use to create
the tables for the new database is shown in Tables.sql. The script that
you plan to use to create the stored procedures for the new database
is shown in StoredProcedures.sql. The script that you plan to use to
create the indexes for the new database is shown in Indexes.sql. (Line
numbers are included for reference only.)
A database named DB2 resides on SQL2. DB2 has a table namedSpeakerAudit that will audit changes to a table named Speakers.A stored procedure named usp_UpdateSpeakersName will beexecuted only by other stored procedures. The stored proceduresexecuting usp_UpdateSpeakersName will always handle transactions.A stored procedure named usp_SelectSpeakersByName will be usedto retrieve the names of speakers. Usp_SelectSpeakersByName canread uncommitted data.A stored procedure named usp_GetFutureSessions will be used toretrieve sessions that will occur in the future.
Procedures.sql
page 1 / 33

page 2 / 33

Indexes.sql
page 3 / 33

Tables.sql
page 4 / 33

You need to provide referential integrity between the Sessions tableand Speakers table.Which code segment should you add at line 47 of Tables.sql?
page 5 / 33

A. Option AB. Option BC. Option CD. Option DAnswer: B
2.You attempt to process an invoice by using usp_InsertInvoice.sql andyou receive the following error message:"Msg 515, Level 16, State 2, Procedure usp_InsertInvoice, Line 10Cannot insert the value NULL into column 'InvoiceDate', table'DB1.Accounting.Invoices'; column does not allow nulls. INSERT fails."You need to modify usp_InsertInvoice.sql to resolve the error.How should you modify the INSERT statement?


You've reached the end of your free preview.
Want to read all 33 pages?
- Winter '20
- Speak, Microsoft SQL Server, C. Option, A. Option, B. Option