This custom SQL string sets up the environment for subsequent transactions. The Integration Service runs the connection environment SQL each time it connects to the database. If you configure connection environment SQL in a target connection, and you configure three partitions for the pipeline, the Integration Service runs the SQL three times, once for each connection to the target database. Use SQL commands that do not depend on a transaction being open during the entire read or write process.
For example, use the following SQL statement to set the quoted identifier parameter for the duration of the connection:
SET QUOTED_IDENTIFIER ON
Use the SQL statement in the following situations:
You want to set up the connection environment so that double quotation marks are object identifiers.
You configure the target load type to Normal and the Microsoft SQL Server target name includes spaces.