PrepAway - Latest Free Exam Questions & Answers

Which Transact-SQL statement should you use?

You create a view based on the following statement:

You grant the Select permission to User1.
You need to change the view so that it displays only the records that were processed in the month
prior to the current month. You need to ensure that after the changes, the view functions correctly
for User1.
Which Transact-SQL statement should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

7 Comments on “Which Transact-SQL statement should you use?

    1. Patty says:

      EOMONTH(GETDATE(),-1) = The last day of the previous month at 00:00; when adding a day it is the first day of the current month at 00:00, which is equivalent to last day of the previous month at 23:59




      2



      0

Leave a Reply