adplus-dvertising
frame-decoration

Question

Which of the following script enable a table Without Using a Gating Role?

a.

USE MyDB
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'MyTable',
@role_name = 1,
@supports_net_changes = 1
GO

b.

USE MyDB
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'MyTable',
@role_name = 0,
@supports_net_changes = 1
GO

c.

USE MyDB
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'MyTable',
@role_name = NULL,
@supports_net_changes = 1
GO

d.

None of the mentioned

Posted under SQL Server

Answer: (c).USE MyDB
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'MyTable',
@role_name = NULL,
@supports_net_changes = 1
GO

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 following script enable a table Without Using a Gating Role?

Similar Questions

Discover Related MCQs

Q. Which of the following script enable a Table for all and Net Changes Queries?

Q. Upper bound on expected throughput of the capture job is calculated using which of the following computation?

Q. The cleanup job is initiated by running the parameterless stored procedure is ___________

Q. Which of the following error is returned for a query for all changes when a parameter that is used to define the query interval is not valid?

Q. Point out the correct statement.

Q. The commit time of each transaction with an associated entry in a database change table is available in the table __________

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

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.