Question
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
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.
View solution
Q. Which of the following query returns the average latency for the most recent sessions?
View solution
Q. __________ gives DBAs an option to shut down the server in case of an audit log failure.
View solution
Q. Which of the following field in cdc.lsn_time_mapping has varbinary data type?
View solution
Q. Which of the following query returns the average throughput for the most recent sessions?
View solution
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.
View solution
Q. _________ introduces the Management Data Warehouse (MDW) to SQL Server Management Studio for streamlined performance troubleshooting.
View solution
Q. Point out the correct statement.
View solution
Q. Which of the following mode allows for the collection and uploading of data to occur on demand?
View solution
Q. Which of the following scenario favours cached mode?
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following is the best Practice and Caveat for Management Data Warehouse?
View solution
Q. ____________ stores information about how the management data warehouse reports should group and aggregate performance counters.
View solution
Q. Which of the following table is used in the management data warehouse schema that is required for the Server Activity?
View solution
Q. Which of the following is syntax for sp_add_collector_type procedure?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!