Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.
You have a database that contains a table named Employees. The table stores information about the employees of your company.
You need to implement and enforce the following business rules:
* Limit the values that are accepted by the Salary column.
* Prevent salaries less than $15,000 and greater than $300,000 from being entered.
* Determine valid values by using logical expressions.
* Do not validate data integrity when running DELETE statements.
Solution: You implement a foreign key on the table.
Does the solution meet the goal?
You manage a database that supports an Internet of Things (IoS) solution. The database records metrics from over 100 million devices every minute. The database requires 99.995% uptime.
The database uses a table named Checkins that is 100 gigabytes (GB) in size. The Checkins table stores
metrics from the devices. The database also has a table named Archive that stores four terabytes (TB) of data.
You use stored procedures for all access to the tables.
You observe that the wait type PAGELATCH_IO causes large amounts of blocking.
You need to resolve the blocking issues while minimizing downtime for the database.
Which two actions should you perform? Each correct answer presents part of the solution.
You have a database with multiple tables. You must insert data into the tables by using views.
Which of the following two statements best describes an updatable view?
NOTE: Each correct selection is worth one point.
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.
You need to identify the indexes that are not being used so that you can remove them from the database.
Solution: You run the sys.dm_db_index_usage_stats dynamic management view.
Does the solution meet the goal?
You have multiple queries that use time to complete.
You need to identify the cause by using detailed information about the Transact_SQL in the queries. The Transact_SQL statements must not run as part of the analysis.
Which Transact_SQL statements should you run?