adplus-dvertising
frame-decoration

Question

Which of the code snippet collect the data every 5 minutes?

a.

DECLARE @schedule_uid uniqueidentifier;
SELECT @schedule_uid = (
SELECT schedule_uid FROM sysschedules_localserver_view
@days_until_expiration = 5,
WHERE name = N'CollectorSchedule_Every_5min')

b.

DECLARE @schedule_uid uniqueidentifier;
SELECT @schedule_uid = (
SELECT schedule_uid FROM sysschedules_localserver_view
@days_until_expiration = 30
WHERE name = N'CollectorSchedule_Every_5min')

c.

DECLARE @schedule_uid uniqueidentifier;
SELECT @schedule_uid = (
SELECT schedule_uid FROM sysschedules_localserver_view
WHERE name = N'CollectorSchedule_Every_5min')

d.

All of the mentioned

Posted under SQL Server

Answer: (c).DECLARE @schedule_uid uniqueidentifier;
SELECT @schedule_uid = (
SELECT schedule_uid FROM sysschedules_localserver_view
WHERE name = N'CollectorSchedule_Every_5min')

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the code snippet collect the data every 5 minutes?

Similar Questions

Discover Related MCQs

Q. Point out the wrong statement.

Q. Which of the following query returns the average latency for the most recent sessions?

Q. __________ gives DBAs an option to shut down the server in case of an audit log failure.

Q. Which of the following field in cdc.lsn_time_mapping has varbinary data type?

Q. Which of the following query returns the average throughput for the most recent sessions?

Q. sys.fn_cdc_map_time_to_lsn returns ________ value from the start_lsn column in the cdc.lsn_time_mapping system table for the specified time.

Q. _________ introduces the Management Data Warehouse (MDW) to SQL Server Management Studio for streamlined performance troubleshooting.

Q. Point out the correct statement.

Q. Which of the following mode allows for the collection and uploading of data to occur on demand?

Q. Which of the following scenario favours cached mode?

Q. Point out the wrong statement.

Q. Which of the following is the best Practice and Caveat for Management Data Warehouse?

Q. ____________ stores information about how the management data warehouse reports should group and aggregate performance counters.

Q. Which of the following table is used in the management data warehouse schema that is required for the Server Activity?

Q. Which of the following is syntax for sp_add_collector_type procedure?