What should you implement?

Posted by: Pdfprep Category: 70-761 Tags: , ,

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.

You have a table named Person that contains information about employees. Users are requesting a way to access specific columns from the Person table without specifying the Person table in the query statement. The columns that users can access will be determined when the query is running against the data. There are some records that are restricted, and a trigger will evaluate whether the request is attempting to access a restricted record.

You need to ensure that users can access the needed columns while minimizing storage on the database server.

What should you implement?
A . the COALESCE function
B . a view
C . a table-valued function
D . the TRY_PARSE function
E . a stored procedure
F . the ISNULL function
G . a scalar function
H . the TRY_CONVERT function

Answer: B

Explanation:

References: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-view-transact-sql?view=sql­server-2017

Leave a Reply

Your email address will not be published.