70-461 Dumps

70-461 Free Practice Test

Microsoft 70-461: Querying Microsoft SQL Server 2012

QUESTION 21

- (Exam Topic 2)
You have a Microsoft SQL Server database that includes two tables named EmployeeBonus and BonusParameters. The tables are defined by using the following Transact-SQL statements:
<>>

Correct Answer: B

QUESTION 22

- (Exam Topic 2)
You create a view based on the following statement:
< ><>>>>< >

Correct Answer: C

QUESTION 23

- (Exam Topic 1)
You use Microsoft SQL Server to develop a database application.
Your application sends data to a VARCHAR(50) variable named @var.
You need to write a Transact-SQL statement that will return information on a successful or unsuccessful cast to an integer in a table.
Which Transact-SQL statement should you run?
< ><>< >

Correct Answer: B
TRY_PARSE returns the result of an expression, translated to the requested data type, or null if the cast fails in SQL Server. Use TRY_PARSE only for converting from string to date/time and number types.
References: https://docs.microsoft.com/en-us/sql/t-sql/functions/try-parse-transact-sql?view=sql-server-2017

QUESTION 24

- (Exam Topic 1)
You have three tables that contain data for dentists, psychiatrists, and physicians. You create a view that is used to look up their email addresses and phone numbers.
The view has the following definition:
<>

Correct Answer: B
Reference: http://msdn.microsoft.com/en-us/library/ms187956.aspx

QUESTION 25

- (Exam Topic 2)
You generate a daily report according to the following query:
<>>< ><>< >

Correct Answer: A