READ Free Dumps For Microsoft- 70-461
Question ID 15036 | You are developing a database application by using Microsoft SQL Server 2012. |
Option A | Add a HASH hint to the query. |
Option B | Add a LOOP hint to the query. |
Option C | Add a FORCESEEK hint to the query. |
Option D | Add an INCLUDE clause to the index. |
Option E | Add a FORCESCAN hint to the Attach query. |
Option F | Include a SET STATISTICS SHOWPLAN_XML ON statement before you run the query. |
Correct Answer | F |
Question ID 15037 | You have a Microsoft SQL Server database that includes two tables named The tables are used to compute a bonus for each employee. The EmployeeBonus table |
Option A | SELECT CAST(CHOOSE((Quarterly * AvailableBonus * CompanyPerformance)/40, (HalfYearly * AvailableBonus * CompanyPerformance)/20, (Yearly * AvailableBonus * CompanyPerformance)/10) AS money) AS Bonus FROM EmployeeBonus, BonusParameters |
Option B | SELECT Bonus = CASE EmployeeBonus WHEN Quarterly=1 THEN (Quarterly * AvailableBonus * CompanyPerformance)/40 WHEN HalfYearly=1 THEN (HalfYearly * AvailableBonus * CompanyPerformance)/20 WHEN Yearly=1 THEN (Yearly * AvailableBonus * CompanyPerformance)/10 END FROM EmployeeBonus,BonusParameters |
Option C | SELECT CAST(COALESCE((Quarterly * AvailableBonus * CompanyPerformance)/40, (HalfYearly * AvailableBonus * CompanyPerformance)/20, (Yearly * AvailableBonus * CompanyPerformance)/10) AS money) AS Bonus FROM EmployeeBonus, BonusParameters |
Option D | SELECT NULLIF(NULLIF((Quarterly * AvailableBonus * CompanyPerformance)/40,(HalfYearly * AvailableBonus * CompanyPerformance)/20), (Yearly * AvailableBonus * CompanyPerformance)/10) AS Bonus FROM EmployeeBonus, BonusParameters |
Correct Answer | B |