Implementing a Data Warehouse with Microsoft SQL Server 2012/2014 — Question 23
You are developing a SQL Server Integration Services (SSIS) project to read and write data from a Windows Azure SQL Database database to a server that runs
SQL Server 2012.
The connection will be used by data flow tasks in multiple SSIS packages. The address of the target Windows Azure SQL Database database will be provided by a project parameter.
You need to create a solution to meet the requirements by using the least amount of administrative effort and maximizing data flow performance.
What should you do?
Answer options
- A. Use an SSIS Script task that uses the custom assembly to parse the text data when inserting it.
- B. Use an SSIS Script transformation that uses the custom assembly to parse the text data when inserting it.
- C. Create a SQL Common Language Runtime (SQLCLR) function that uses the custom assembly to parse the text data, deploy it in the Windows Azure SQL Database database, and use it when inserting data.
- D. Create a SQL Common Language Runtime (SQLCLR) stored procedure that uses the custom assembly to parse the text data, deploy it in the Windows Azure
Correct answer: A
Explanation
The correct answer is A because using an SSIS Script task allows for direct integration into the data flow, minimizing overhead while maximizing performance. Options B and C involve unnecessary complexity by using transformations or CLR functions, which can add to maintenance and performance challenges. Option D also introduces complexity with a stored procedure that is not needed in this context.