Microsoft 70-469 - Recertification for MCSE: Data Platform Exam

Page:    1 / 57   
Total 281 questions

You need to create the InvoiceStatus table in DB1.
How should you define the InvoiceID column in the CREATE TABLE statement?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : C

You attempt to process an invoice by using usp_InsertInvoice.sql and you receive the following error message: "Msg 515, Level 16, State 2, Procedure usp_InsertInvoice, Line
Cannot 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?

  • A. InvoiceDate varchar(l00) 'InvoiceDate',
  • B. InvoiceDate varchar(100) 'Customer/InvoiceDate', '
  • C. InvoiceDate date '@InvoiceDate',
  • D. InvoiceDate date 'Customer/@InvoiceDate',


Answer : C

You need to convert the functionality of Legacy.sql to use a stored procedure.
Which code segment should the stored procedure contain?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : D

Explanation:
http://msdn.microsoft.com/en-us/library/ms187926.aspx
http://msdn.microsoft.com/en-us/library/ms190782.aspx
http://msdn.microsoft.com/en-us/library/bb669091.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms709342.aspx http://msdn.microsoft.com/en-us/library/ms188001.aspx

You need to create a function that filters invoices by CustomerID. The SELECT statement for the function is contained in InvoicesByCustomer.sql.
Which code segment should you use to complete the function?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : A

You need to build a stored procedure that amortizes the invoice amount. Which code segment should you use to create the stored procedure? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.




Answer :

Explanation:


D:\Documents and Settings\useralbo\Desktop\1.jpg
http://msdn.microsoft.com/en-us/library/ms131089.aspx
http://msdn.microsoft.com/en-us/library/ms131048.aspx
http://msdn.microsoft.com/en-us/library/ms187926.aspx

Page:    1 / 57   
Total 281 questions