Microsoft
70-458 · Question #36
You are developing a SQL Server Integration Services (SSIS) package that imports data from a relational database to a data warehouse. You are importing data from a relational table named Projects…
The correct answer is C. SELECT * FROM cdc.fn_cdc_get_net_changes_Projects (@from_lsn, @to_lsn). See the full explanation below for the reasoning.
Question
You are developing a SQL Server Integration Services (SSIS) package that imports data from a relational database to a data warehouse. You are importing data from a relational table named Projects. The table has change data capture enabled on all columns. You need to process only the most recent values from rows that have been inserted or updated since the previous execution of the package. Which query should you use as the data source?
Options
- ASELECT * FROM cdc.fn_cdc_get_all_changes_Projects (@from_lsn, @to_lsn, N' all update old')
- BSELECT * FROM cdc.fn_cdc_get_all_changes_Projects (@from_lsn, @to_lsn, N' all')
- CSELECT * FROM cdc.fn_cdc_get_net_changes_Projects (@from_lsn, @to_lsn)
- DSELECT * FROM cdc.Projects_CT WHERE @from_lsn >= _$start_lsn AND @to_lsn < _$start_lsn
How the community answered
(32 responses)- A13% (4)
- B9% (3)
- C75% (24)
- D3% (1)
Community Discussion
No community discussion yet for this question.